单选

有如下程序:

Private type stu

   X as string

   Y as integer

End type

Private Sub Command1_Click()

   Dim a as stu

  • a.x=”ABCD”
  • a.Y=12345    print a
  • End Sub    程序运行时出现错误,错误的原因是
  • A)Type定义语句没有放在标准模块中
  • B)变量声明语句有错
  • C)赋值语句不对
  • D)输出语句print不对
参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服