-->
当前位置:首页 > 题库

单选题:以下枚举类型的定义中,正确的是()。

Luz5年前 (2021-05-10)题库1371
以下枚举类型的定义中,正确的是()。 @[B](2)

A. enum a={one,two,three};
B. enum a{one=9,two=-1,three};
C. enum a={"one","two","three"};
D. enum a{"one","two","three"};




A.enum a={one,two,three};
B.enum a{one=9,two=-1,three};
C.enum a={"one","two","three"};
D.enum a{"one","two","three"};


答案:B