[单选题]

设有整型数组的定义:inta[ ];new int[8];,则a.length的值为下列哪项?

A.8

B.9

C.7

D.6

参考答案与解析:

相关试题

设有整形数组的定义int a[]==new int[8],则a.length的值

[单选题]设有整形数组的定义int a[]==new int[8],则a.length的值为( )。A.8B.9C.7D.6

  • 查看答案
  • 设有整形数组的定义int a[]=new int[8],则a.length的值为

    [单选题]设有整形数组的定义int a[]=new int[8],则a.length的值为( )。A.8B.9C.7D.6

  • 查看答案
  • 设有数组的定义:int m[]=new int[5],则m.length的值为(

    [单选题]设有数组的定义:int m[]=new int[5],则m.length的值为( )。A.4B.5C.6D.10

  • 查看答案
  • 设有整形数组的定义:inta[]=newint[8];,则length的值为()

    [单选题]设有整形数组的定义:inta[]=newint[8];,则length的值为()A.8B.9C.7D.6

  • 查看答案
  • 若数组a定义为int[][]a=new int[3][4],则a是

    [单选题]若数组a定义为int[][]a=new int[3][4],则a是A.一维数组B.二维数组C.三维数组D.四维数组

  • 查看答案
  • 若数组a定义为int[][]a=new int [3][4],则a是()。

    [单选题]若数组a定义为int[][]a=new int [3][4],则a是( )。A.一维数组B.二维数组C.三维数组D.四维数组

  • 查看答案
  • 若数组a定义为int[][]a=new int[3][4],则a是

    [单选题]若数组a定义为int[][]a=new int[3][4],则a是A.一维数组B.二维数组C.三维数组D.四维数组

  • 查看答案
  • ( 31 )若数组 a 定义为 int[][]a=new int[3][4] ,

    [单选题]( 31 )若数组 a 定义为 int[][]a=new int[3][4] ,则 a 是A. )一维数组B. )二维数组C. )三维数组D. )四维数组

  • 查看答案
  • 设有定义语句:int a[][3]={{0},{1},{2}};,则数组元素a[

    [试题]设有定义语句:int a[][3]={{0},{1},{2}};,则数组元素a[1][2]的值为____

  • 查看答案
  • 设有定义语句: int a[][3]={{0},{1},{2}};, 则数组元素

    [试题]设有定义语句: int a[][3]={{0},{1},{2}};, 则数组元素 a[1][2] 的值为 ( 13 ) 。

  • 查看答案
  • 设有整型数组的定义:inta[ ];new int[8];,则a.length的