(1) switch 后面表达式的结果类型必须是 byte 、 short 、 int 、 char 、 String
(2) break :终止、结束 switch .. case 结构,防止 case 穿透
(3) default 没有位置先后要求
(1) switch 后面表达式的结果类型必须是 byte 、 short 、 int 、 char 、 String
(2) break :终止、结束 switch .. case 结构,防止 case 穿透
(3) default 没有位置先后要求