华为面试的一道题目

类别:Java 点击:0 评论:0 推荐:
switch(n)中的n不能是以下那种类型  A char B int C unsigned D double











JAVA中switch只能是int,或者可以隐式转为int的数据类型
byte,char,int.

本文地址:http://com.8s8s.com/it/it13360.htm