摘要: 在codewar里使用了以下switch-case语句,不熟练出错,所以记录一下。 class ArithmeticFunction { public static int arithmetic(int a, int b, String operator) { int result=0; switc 阅读全文
posted @ 2018-04-24 14:08 auroracj 阅读(195) 评论(0) 推荐(0) 编辑