Switch能否用string做参数
2017-02-18 22:33
204 查看
显然可以的!!!
整形,枚举类型,boolean,字符串都可以,唯独浮点型不可以
相关文章推荐
- Java中 Switch能否用string做参数?
- Switch能否用string做参数
- Switch能否用String做参数
- Switch能否用string做参数?
- Switch能否用string做参数
- Switch能否用string做参数
- Switch能否用string做参数?
- Switch能否用String做参数
- Switch能否用string做参数?
- java中switch能否使用String作为参数?
- Switch能否用string做参数?
- Switch能否用string做参数
- switch能否用String做参数?
- Switch能否用string做参数?
- Switch能否用String做参数?
- Switch能否用string做参数
- Switch能否用string做参数
- Switch能否使用String做参数
- Switch能否用string做参数?
- switch能否作用在char上,能否作用在byte上,能否作用在string上?