假设定义了:enumcolor{red=1,orange,yellow,green,blue,purple,black};则blue的值是()
A: 4
B: 5
C: 3
D: 6
A: 4
B: 5
C: 3
D: 6
B
举一反三
- 假设定义了:enum color {red=1, orange, yellow, green ,blue, purple, black};则blue的值是(
- Which color indicates the harmony between nature and human-beings? A: red and green or blue B: dark blue and yellow or brown C: blue and red or orange D: black and purple or pink
- 下列枚举类型的定义中,包含枚举值3的是( )。 A: enum test {RED, YELLOW, BLUE, BLACK}; B: enum test {RED, YELLOW=4, BLUE, BLACK}; C: enum test {RED=-1, YELLOW,BLUE, BLACK}; D: enum test {RED, YELLOW=6, BLUE, BLACK};
- 以下枚举类型定义正确的是______。 A: enumcolor={red,yellow,blue}; B: enumcolor{red,yellow,blue}; C: enumcolor{“red”,“yellow”,“blue”}; D: enumOdd={1,3,5,7,9};
- 08310012:设有枚举类型定义:enumcolor={red=3,yellow,blue=10,white,black}; 其中枚举量black的值是()。
内容
- 0
对于enum cc {red, green, blue, black, yellow, white};Console.WriteLine(cc.red+3);则输出结果是_______ A: blue B: black C: green D: yellow
- 1
有下面定义:enum colorname {red=4,yellow,blue,white=8,black};yellow的值为()。 A: 5 B: 6 C: 0 D: 1
- 2
1)black a) evil 2) blue b) sadness 3) gray c) dullness 4) green d) envy 5) purple e) royalty 6) red f) danger 7) white g) purity 8)yellow h) cowardice
- 3
Which are the core colors of Chinese traditional colors? A: black and white B: red and cyan C: yellow and blue D: purple and orange
- 4
设有枚举类型定义:enumcolor={red=3,yellow,blue=10,white,black};其中枚举量black的值是()。 A: 7 B: 15 C: 14 D: 12