单选题 VB 题号 #151581 以下说法不正确的是( )。 A.使用ReDim语句可以改变数组的维数 B.使用ReDim语句可以改变数组的类型 C.使用ReDim语句可以改变数组的每一维的大小 D.使用ReDim语句可以改变对数组中的所有元素进行初始化 收起答案及解析 进入在线模考 参考答案 B 答案解析 暂无解析 你可能感兴趣的试题 1 有如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If (Button And 3) =3 Then Print "OK" End If End Sub 程序运行后,为了在窗体上输出"OK",应当按下的鼠标键是( )。 A.左键 B.右键 C.同时按下左键和右键 D.按什么都不显示 查看解析 → 2 在窗体上画一个名称为CommonDialog1的通用对话框,一个名称为Command1的命令按钮,要求单击命令按钮时,打开一个保存文件的对话框,该窗口的标题为"Save",缺省文件名称为"SaveFile",在"文件类型"栏中显示*txt,则能够满足上述要求的程序是( )。A.Private Sub Command1_Click() CommonDialog1.FileName= "SaveFile" CommonDialog1.Filter= "AllFiles|*.*|(*.txt) |*.txt|(*.doC.|*.doc" CommonDialog1.FilterIndex=2 CommonDialog1.DialogTitle= "Save" CommonDialog1.Action=2 End Sub B.Private Sub Command1_Click() CommonDialog1.FileName= "SaveFile" CommonDialog1.Filter= "AllFiles|*.*|(*.txt) |*.txt|(*.doC.|*.doc" CommonDialog1.FilterIndex=1 CommonDialog1.DialogTitle= "Save" CommonDialog1.Action=2 End Sub C.Private Sub Command1_Click() CommonDialog1.FileName= "Save" CommonDialog1.Filter= "AllFiles|*.*|(*.txt) |*.txt|(*.doC.|*.doc" CommonDialog1.FilterIndex=2 CommonDialog1.DialogTitle= "SaveFile" CommonDialog1.Action=2 End Sub D.Private Sub Command1_Click() CommonDialog1.FileName= "SaveFile" CommonDialog1.Filter= "AllFiles|*.*|(*.txt) |*.txt|(*.doC.|*.doc" CommonDialog1.FilterIndex=1 CommonDialog1.DialogTitle= "Save" CommonDialog1.Action=1 End Sub 查看解析 → 3 阅读下面的程序段: For a=1 To 2 For b=1 To a For c=b To 2 I=I + 1 Next Next Next Print I 执行上面的三重循环后,I的值为( )。 A.4 B.5 C.6 D.9 查看解析 →