网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
( 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 )
参考答案
更多 “ ( 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 ) ” 相关考题
考题
数组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}}
热门标签
最新试卷