switch能使用的数据类型有6种

byte、short、char、int、String、枚举

posted @ 2016-12-27 13:07  奋斗的少年WH  阅读(3390)  评论(0)    收藏  举报