已知type color=(red,yellow,blue);则下列类型定义中不合法的是 ( )。 Atype p=(1,2,3,4);Btype p=(1..4);Ctype p=(‘a‘,‘b‘,‘c‘,‘d‘);Dtype p=(a,b,c,d);
已知type color=(red,yellow,blue);则下列类型定义中不合法的是 ( )。
Atype p=(1,2,3,4);
Btype p=(1..4);
Ctype p=(‘a‘,‘b‘,‘c‘,‘d‘);
Dtype p=(a,b,c,d);
相关考题:
( 18 )下列枚举类型的定义中,包含枚举值 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};
下列枚举类型的定义中,包含枚举值3的是( )。A.enumtest{RED,YELLOW,BLUE,BLACK};B.enumtest{RED,YELLOW=4,BLUE,BLACK);C.enumtest{RED=-1,YELLOW,BLUE,BLACK};D.enumtest{RED,YELLOW=6,BLUE,BLACK);
下列枚举类型的定义中,包含枚举值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.erium test{RED,YELLOW=6,BLUE,BLACK};
在下列枚举类型的定义中,包含枚举值3的是A.entire 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);
在下列枚举类型的定义中,包含枚举值3的是A.entire test(RED,YELLOW,BLUE,BLACK);B.entire test(RED,YELLOW,BLUE,BLACK);C.enum test(RED=-1,YELLOW,BLUE,BLACK);D.enum test(RED,YELLOW=6,BLUE,BLACK);
以下CSS选择符定义中,______属于类选择符。A.P{color:red; font-size:12pt}B.p.blue{color:blue}C.#Red{color:red;)D.PEM {background: yellow}
以下CSS选择符定义中,______属于类选择符。A.P{color:red;font-size:12pt}B.p.blue{color:blue}C.#Red{color:red;)D.PEM{background:yellow}
定义一个颜色的枚举类型Color,下面正确的是()。A.public enum Color {red, green, yellow, blue}B.public enum Color {1:red, 2:green, 3:yellow, 4:blue}C.public enum Color {1:red; 2:green; 3:yellow; 4:blue}D.public enum Color {Stringred, String green, String yellow, String blue}
8、定义一个颜色的枚举类型Color,下面正确的是()。A.public enum Color {red, green, yellow, blue}B.public enum Color {1:red, 2:green, 3:yellow, 4:blue}C.public enum Color {1:red; 2:green; 3:yellow; 4:blue}D.public enum Color {Stringred, String green, String yellow, String blue}