function-exit
Why is "else" rarely used after "if x then return"?
This method: boolean containsSmiley(String s) { if (s == null) { return false; } else { return s.contains(\":)\");[详细]
2023-01-07 04:34 分类:问答
This method: boolean containsSmiley(String s) { if (s == null) { return false; } else { return s.contains(\":)\");[详细]