设有以下定义语句:Private Type point x As Integer y As Integer End Type Dim a As point下面语句中正确的是
A. a=12
B. a.x=12
C. point=12
D. point.x=12
VB中,若没有显式声明变量的数据类型,则默认的类型是
A. 整型
B. 字符型
C. 日期型
D. 变体类型
以下自定义数据类型的语句中,正确的是
A.Type student ID As String * 20 name As String * 10 age As Integer End student
B.Type student ID As String * 20 name As String * 10 age As Integer End Type
C.Type student ID As String name As String age As Integer End student
D. C.Type ID As String * 20 name As String * 10 age As Integer End Type student
下面为单精度实型(即单精度浮点型)变量的是
A. x$
B. x&
C. x!
D. x#