全部题库 / VB / 试题详情
单选题 VB
2008-03-20

在窗体上画一个名称为Text1的文本框和一个名称为Command1的命令按钮,然后编写如下事件过程:  
Private Sub Command1_Click()  
 Dim array1(10, 10) As Integer  
 Dim i As Integer, j As Integer  
  For i = 1 To 3  
   For j = 2 To 4  
    array1(i, j) = i + j  
   Next j  
  Next i  
 Text1.Text = array1(2, 3) + array1(3, 4)  
End Sub  
程序运行后,单击命令按钮,在文本框中显示的值是(  )。

A.12  
B.13  
C.14  
D.15

参考答案

A

答案解析

暂无解析

你可能感兴趣的试题