下列选项中,不属于值类型的是( )
A: struct
B: Int32
C: Int
D: string
A: struct
B: Int32
C: Int
D: string
D
举一反三
- 下列选项中,不属于值类型的是( ) A: struct B: Int32 C: Int D: string
- 下列选项中,()是引用类型。 A: enum类型 B: struct类型 C: string类型 D: int类型
- 下列选项中,()不属于C#数据类型中的值类型 A: int B: bool C: string D: char
- 在C#中,下列选项中哪一个是引用类型:() A: enum类型 B: struct类型 C: string类型 D: int类型
- 下列选项中不能够定义一个结构体类型变量stu的是 。 A: struct student { int num; int age; } stu; B: struct student { int num; int age; }; student stu; C: struct {int num; int age; } stu; D: struct student {int num; int age; }; struct student stu;
内容
- 0
下列那个类型是引用类型的是 A: enum类型 B: struct类型 C: String类型 D: int类型
- 1
下列选项中,属于引用类型的是___________ A: 枚举类型 B: 结构类型 C: string类型 D: int类型
- 2
Java语言中,String类中的indexOf()方法返回值的类型是() A: int16 B: int32 C: int D: long
- 3
下面是关于结构类型与变量的定义语句,错误的是________。 A: struct test{int a; int b; int c;}; struct test y; B: struct test{ int a; int b; int c;} struct test y; C: struct test{ int a; int b; int c;} y; D: struct { int a; int b; int c;} y;
- 4
下列对结构体类型变量定义不正确的是( ) A: struct teacher { int num; int age; }teach1; B: struct { int num; int age; }teach1,teach2; C: struct { int num; int age; }teacher; struct teacher teach1; D: struct teacher { int num; int age; }; struct teacher teach1;