switch语句

switch中的值只能是整数、枚举、字符、字符串
不可使用long、float、double、boolean作为它的数据类型

原文地址:https://www.cnblogs.com/LinYanyan1024-6285/p/14242435.html