单选题
如果-个变量未经定义就直接使用,则该变量的类型为( )。
A、
Integer
B、
Byte
C、
Boolean
D、
Variant
【正确答案】
D
【答案解析】
【解析】Visual Basic规定,未经定义的变量默认为Variant类型。
提交答案
关闭