( 14 )设有如下的用户定义类型:Type Studentnumber As Stringname As Stringage As IntegerEnd Type则以下正确引用该类型成员的代码是A ) Student.name = " 李明 "B ) Dim s As Students.name = " 李明 "C ) Dim s As Type Students.name = " 李明 "D ) Dim s As Types.name = " 李明 "

( 14 )设有如下的用户定义类型:

Type Student

number As String

name As String

age As Integer

End Type

则以下正确引用该类型成员的代码是

A ) Student.name = " 李明 "

B ) Dim s As Student

s.name = " 李明 "

C ) Dim s As Type Student

s.name = " 李明 "

D ) Dim s As Type

s.name = " 李明 "


相关考题:

设有如下的用户定义类型: Type Student number As String name As string age As Integer End Type 则以下正确引用该类型成员的代码是______。A. Student name="李明”B.Dim s As Student s.name="李明"C.Dim s As Type Student s.name="李明"D.Dim s As Type s.name="李明"

设有如下的用户定义类型:Type Studentnumber As Stringname As Stringage As IntegerEnd Type则以下正确引用该类型成员的代码是( )。A.B.C.D.

假定已经定义了一个名为arr_type的PL/SQL表类型,那么怎样实例化一个arr_type类型的变量() A.v_arr arr_type;B.v_arr is arr_type;C.v_arr of arr_type;D.v_arr arr_type%type;

如果希望想为表单元素类型为type且值为text的元素设置背景色,则用如下方法定义()。A.input{type=text}{ }B.input[type=text]{ }C.input(type=text){ }D.input type=text{ }

有关赋值运算符重载函数operator =()的返回类型的叙述错误的是()A.返回类型为 Type,Type都可以#B.返回类型为Type,且实现了++操作的重载,则可以如下应用。 Type t1=new Type(), t2; (t2=t1)++; 且后一句相当于 t2=t1; t2++;#C.返回类型为Type,则都可以有如下应用。 Type t1=new Type(), t2, t3; t3=t2=t1;#D.operator =操作重载的返回值可以是Type*

18、设有如下枚举类型定义: enum color { red=6, blue=14, yellow, white, black, purple}; 则枚举元素purple的值为_____A.3B.4C.18D.20

4、如果希望想为表单元素类型为type且值为text的元素设置背景色,则用如下方法定义()。A.input{type=text}{ }B.input[type=text]{ }C.input(type=text){ }D.input type=text{ }

下面有关结构体相关说明正确的是________。 typedef struct date { int year, month, day; } type_date ;A.定义了结构体类型名type_dateB.定义了结构体变量type_dateC.定义了结构体type_dateD.这个定义是错误的

以下运用TYPE定义用户数据类型是正确的。 TYPE ST1 ARRAY(0 TO 15) OF STD_LOGIC;