摘要:
package base.baidua; public class SwitchDemo2 { public static void main(String[] args) { //JDK7特性switch支持String类型 String name ="臭"; switch (name){ cas 阅读全文
摘要:
package base.baidua; public class SwitchDemo1 { public static void main(String[] args) { //case穿透,//switch匹配具体的值 char grade = 'K'; switch (grade){ cas 阅读全文