以下有关数组定义的语句序列中,错误的是______。
A: Static arr1(3)
B: arr1(1)=100
C: arr1(2)="Hello"
D: arr1(3)=123.45
E: Dim arr2()As Integer
F: Dim size As Integer
G: Private Sub Command2_Click()
H: size=InputBox("输入:")
I: ReDim arr2(size)
J: …
K: End Sub
L: Option Base 1
M: Private Sub
N: Command3_Click()
O: Dim arr3(3)As Integer
P: …
Q: End Sub
R: Dim n As Integer
S: Private Sub Command4_Click()
T: Dim arr4(n)As Integer
U: …
V: End Sub
A: Static arr1(3)
B: arr1(1)=100
C: arr1(2)="Hello"
D: arr1(3)=123.45
E: Dim arr2()As Integer
F: Dim size As Integer
G: Private Sub Command2_Click()
H: size=InputBox("输入:")
I: ReDim arr2(size)
J: …
K: End Sub
L: Option Base 1
M: Private Sub
N: Command3_Click()
O: Dim arr3(3)As Integer
P: …
Q: End Sub
R: Dim n As Integer
S: Private Sub Command4_Click()
T: Dim arr4(n)As Integer
U: …
V: End Sub
举一反三
- 以下有关数组定义的语句序列中,错误的是( ) A: Static arr1(3) :arr1(1) = "100" : B: arr1(2) = "Hello" :arr1(3) = "123.45" C: Dim arr2( ),size As Integer D: Private Sub Command2_Click( ) E: size =InputBox("输入:") ReDim arr2(size) ...... F: End Sub G: Option Base 1 Private Sub Command3_Click( ) H: Dim arr3(3) As Integer ...... I: End Sub J: Dim n As Integer Private Sub Command4_Click( ) K: Dim arr4(n) As Integer...... L: End Sub
- 以下有关数组定义的语句序列中,错误的是 A: Static arr1(3) B: Arr1l(1)=100 C: Arr1(2)=“Hello” D: Arr1(3)=123.45 E: Dim art2( )As Integer F: Dim size As Integer G: Private Sub Command2_Click( ) H: size=Input Box(“输入:”) I: ReDinl.arr2(size) J: …… K: End Sub L: Option Base 1 M: Private Sub Command3_Click( ) N: Dim arr3(3) As Integer O: …… P: End Sub Q: Dim n As Integer R: Private Sub Command4_Click( ) S: Dim arr(n) As Integer T: …… U: End Sub
- 以下有关数组定义的语句序列中,错误的是 A: Static arrl(3) arr1(1)=100 arrl(2)="Hello" arrl(3)=123.45 B: Dim arr2()As Integer Dim size As Integer Private Sub Command2_Click() size=InputBOX(“输入:”) ReDim arr2(size) ┄ End Sub C: Option Base 1 Private Sub Command3_Click() Dim arr3(3)As Integer ┄ End Sub D: Dim n As Integer Private Sub Command4_Click() Dim arr4(n)As Integer ┄ End Sub
- 以下有关数组定义的语句序列中,错误的是 A: Static arrl(3) B: arr1(1)=100 C: arrl(2)="Hello" D: arrl(3)=123.45 E: Dim arr2()As Integer F: Dim size As Integer G: Private Sub Command2_Click() H: size=InputBOX(“输入:”) I: ReDim arr2(size) J: ┄ K: End Sub L: Option Base 1 M: Private Sub Command3_Click() N: Dim arr3(3)As Integer O: ┄ P: End Sub Q: Dim n As Integer R: Private Sub Command4_Click() S: Dim arr4(n)As Integer T: ┄ U: End Sub
- 以下有关数组定义的语句序列中,错误的是______。 A: Static arr1(3)arr1(1)=100arr1(2)="Hello"arr1(3)=123.45 B: Dim arr2() As IntegerDim size As IntegerPrivate Sub Command2_Click()size=InputBox("输入:")ReDim arr2(size)……End Sub C: Option Base 1Private Sub Command3_Click()Dim arr3(3) As Integer…… End Sub D: Dim n As IntegerPrivate Sub Command4_Click()Dim arr4(n) As Integer……End Sub