( 21 )下面正确使用动态数组的是A )Dim arr () As Integer…ReDim arr ( 3 , 5 )B )Dim arr () As Integer…ReDim arr ( 50 ) As StringC )Dim arr ()…ReDim arr ( 50 ) As IntegerD )Dim arr ( 50 ) As Integer…ReDim arr ( 20 )
( 21 )下面正确使用动态数组的是
A )
Dim arr () As Integer
…
ReDim arr ( 3 , 5 )
B )
Dim arr () As Integer
…
ReDim arr ( 50 ) As String
C )
Dim arr ()
…
ReDim arr ( 50 ) As Integer
D )
Dim arr ( 50 ) As Integer
…
ReDim arr ( 20 )
相关考题:
数组arr经过下面的操作后结果为( )。 int[] arr={1, 2, 3}; for (int i=0; i < 2; i++) arr[i] = 0;A.arr[0]==0B.arr[0]==1C.arr[1]==1D.arr[2]==0
下面代码中,哪一项是正确定义了一个3*4的二维数组A.int[][] arr = new int[3][4]B.int[][] arr = new int[3][]C.int[][] arr = new int[][4]D.int[][] arr = {{1,2},{3,4,5},{6}}
5、下面代码中,哪一项是正确定义了一个3*4的二维数组A.int[][] arr = new int[3][4]B.int[][] arr = new int[3][]C.int[][] arr = new int[][4]D.int[][] arr = {{1,2},{3,4,5},{6}}