单选题 Access
题号 #143607

在窗体中添加一个命令按钮(名称为Command1),然后编写如下代码: 
    Public  x  as  integer 
    Private  Sub  Command1_Click( ) 
      a=10 
      Call  s1 
      Call  s2 
      MsgBox  x 
    End  Sub 
    Private Sub  s1( ) 
      x=x+20 
    End Sub 
    Private Sub  s2( ) 
      Dim x as integer 
      x=x+20 
    End Sub 
窗体打开运行后,单击命令按钮,则消息框的输出结果是

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考