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


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

A、boolean

B、double

C、String

D、struct

正确答案:String


Tag:表达式 语句 类型 时间:2024-05-04 16:44:42