登 录
switch(expression): 在jdk7之前,switch(expression)中的expression只能为byte,short,char,int及它们的包装类型,在jdk7时expression可以为String。
switch(expression):
在jdk7之前,switch(expression)中的expression只能为byte,short,char,int及它们的包装类型,在jdk7时expression可以为String。
抱歉!评论已关闭.