会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Auro
The world fascinates me.
博客园
首页
新随笔
联系
订阅
管理
2018年4月24日
Java中的switch-case语句
摘要: 在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)
编辑
公告