首页 › 答案 › 题库 › 网课

在switch语句中的表达式只能是byte、short、char、int、枚举、()类型(JDK1.7引入的)

在switch语句中的表达式只能是byte、short、char、int、枚举、()类型(JDK1.7引入的)
A、boolean
B、double
C、String
D、struct
正确答案:String