网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

在c#中,下列创建数组的语句是否合法?Int[]iArray=newint[null];()


参考答案

更多 “ 在c#中,下列创建数组的语句是否合法?Int[]iArray=newint[null];() ” 相关考题
考题 在C#中,()正确定义了一个具有10个int类型的数组。A、intiArray=newint[10];B、int[]iArray=newint;C、int[]iArray=newint(10);D、int[]iArray=newint[10];

考题 4、下面声明和创建数组的语句错误的是()A.int[] a=new int[12];B.int[] c; c=new int[12];C.int[] n={1,2,3,4,5};D.int[] array = new int[3] {1,2};

考题 下面声明和创建数组的语句错误的是A.int[] a=new int[12];B.int[] c; c=new int[12];C.int[] n={1,2,3,4,5};D.int[] array = new int[3] {1,2};

考题 下面哪一个不是合法的数组声明和构造语句()A.int[] a=[100];B.int a=new int[100];C.int[] a=new int[100];D.int() a=new int[100];

考题 下面为合法的数组声明和构造语句的是_______。A.int[] ages = [100];B.int ages = new int[100];C.int[] ages = new int[100];D.int() ages = new int(100);

考题 8、下面声明和创建数组的语句错误的是A.int[] a=new int[12];B.int[] c; c=new int[12];C.int[] n={1,2,3,4,5};D.int[] array = new int[3] {1,2};

考题 下面合法的数组声明和构造语句是()A.int[] ages = [100]B.int ages = new int[100]C.int[] ages = new int[100]D.int() ages = new int(100)

考题 8、下面合法的数组声明和构造语句是()。A.int[] ages = [100]B.int ages = new int[100]C.int[] ages = new int[100]D.int() ages = new int(100)

考题 【单选题】在创建数组时,下列创建的方法中合法的是()。A.int a[ ] [ ]=new a[10][5]B.int a[]=new int[10 ]C.int [ ]a=new a[10 ]D.int a[]=new a[10 ]