设在工程中定义了下列类型:Type Stutypeino As Integerstrname As String*20strsex As String*1smark As SingleEnd Type在窗体上正确使用这个类型的是下列哪个操作( )。A.Sub Command1_Click() Dim student As Stutype With student .ino=12 .Strname=smith .strsex=男 .smark=89 End With End SubB.Sub Command1_Click() Dim Student As Stutype With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With End SubC.Sub Comnland1_Click() Dim student As Stutype With Stutype .ino=12 .strname="smith" .strsex="男" .smark=89 End With End SubD.Sub Command1_Click() Dim student As Stutype With student .ino=12 .Strname="smith" .strsex="男" .smark=89 End student End Sub

设在工程中定义了下列类型:

Type Stutype

ino As Integer

strname As String*20

strsex As String*1

smark As Single

End Type

在窗体上正确使用这个类型的是下列哪个操作( )。

A.Sub Command1_Click() Dim student As Stutype With student .ino=12 .Strname=smith .strsex=男 .smark=89 End With End Sub

B.Sub Command1_Click() Dim Student As Stutype With student .ino=12 .strname="smith" .strsex="男" .smark=89 End With End Sub

C.Sub Comnland1_Click() Dim student As Stutype With Stutype .ino=12 .strname="smith" .strsex="男" .smark=89 End With End Sub

D.Sub Command1_Click() Dim student As Stutype With student .ino=12 .Strname="smith" .strsex="男" .smark=89 End student End Sub


相关考题:

在jsp页面声明中定义了一个方法,下列( )代码不能放入该方法中public void test(HttpServletReqeust request){}A、HttpSession session =request.getSession();B、String name=(String)request.getAttribute("name");C、String name=(String)session.getAttibute("name");D、request.sendRedirect(“index.jsp”);

符号%是声明______类型变量的类型定义符。A.IntegerB.VariantC.SingleD.String

符号%是声明 ______ 类型变量的类型定义符。A.VafiantB.IntegerC.SingleD.String

在以下各选项中,属于Visual Basic定义的基本数据类型的是() A、IntB、IntegerC、SingleD、String

4、JDBC中,接口Statement中定义的execute方法的返回类型是()A.ResultSetB.IntC.BooleanD.String

以下有关控制台说法正确的是()。A.定义入口方法正确写法:static void main(string[] args)B.定义入口方法正确写法:static void Main(string[] args)C.定义入口方法正确写法:static Void Main(string[] args)D.定义入口方法正确写法:Static Void Main(string[] args)

定义名为“联系方式”的属性组,该属性组包含两个名称分别为“邮箱”和“电话”的属性,这两个属性的类型均为"string",下面正确的选项为()。A.<attributeGroup name="联系方式"> <attribute name="邮箱" type="xsd:string"/> <attribute name="电话" type=“xsd:string"/> </attributeGroup>B.<attributeGroup name="联系方式"> <attribute name="邮箱" type="xsd:sting"> <attribute name="电话" type=“xsd:sting"> </attributeGroup>C.<attribute name="联系方式"> <attribute name="邮箱" type="xsd:sting"/> <attribute name="电话" type=“xsd:sting"/> <

在C++中不仅可以用string定义字符串变量,也可以用string定义字符串数组

两个 string 对象能够相加的原因是A.string 类型与 int 类型相似,本质上可以执行加法运算B.string 类中重载了 + 运算符C.+ 运算符本身能够对字符进行运算D.C++ 标准中对 + 运算符做了特殊规定,所以可以对 string 对象执行相应操作

1、两个 string 对象能够相加的原因是A.string 类型与 int 类型相似,本质上可以执行加法运算B.string 类中重载了 + 运算符C.+ 运算符本身能够对字符进行运算D.C++ 标准中对 + 运算符做了特殊规定,所以可以对 string 对象执行相应操作