当前位置:在线题库搜索>[单选题]设有如下的用户定义类型: Type Student number As String name As string age As Integer End Type 则以下正确引用该类型成员的代码是______。的答案是什么?

问题:

[单选题]设有如下的用户定义类型: Type Student number As String name As string age As Integer End Type 则以下正确引用该类型成员的代码是______。

A、Student name="李明”
B、Dim s As Student name="李明"
C、Dim s As Type Student name="李明"
D、Dim s As Type name="李明"

参考答案: B