动态分配包含20个元素的int型数组,下列语句中正确的是( )。 A: int *p = new int[20]; B: int *p = new int(20); C: int *p = new [20]; D: int p = new int[20];
动态分配包含20个元素的int型数组,下列语句中正确的是( )。 A: int *p = new int[20]; B: int *p = new int(20); C: int *p = new [20]; D: int p = new int[20];
A new technique ( ), the yields as a whole increased by 20 percent.
A new technique ( ), the yields as a whole increased by 20 percent.
2) Learn 20 new words each week.
2) Learn 20 new words each week.
下列哪条指令可用于创建具有10行20列的文本域? A: new TextArea(20,10) B: new TextArea(10,20) C: new TextArea(new Rows(10), new Colums(20) D: new TextArea(200)
下列哪条指令可用于创建具有10行20列的文本域? A: new TextArea(20,10) B: new TextArea(10,20) C: new TextArea(new Rows(10), new Colums(20) D: new TextArea(200)
创建数组正确的是: A: int[] ia = new int [15]; B: float fa = new float [20]; C: char[] ca = “Some String”; D: Object oa = new float[20]; E: Int ia [][] = (4, 5, 6) (1, 2, 3)
创建数组正确的是: A: int[] ia = new int [15]; B: float fa = new float [20]; C: char[] ca = “Some String”; D: Object oa = new float[20]; E: Int ia [][] = (4, 5, 6) (1, 2, 3)
Which two create an instance of an array?() A: int ia = new int [15]; B: float fa = new float [20]; C: char ca = “Some String”; D: Object oa = new float[20]; E: Int ia = (4, 5, 6) (1, 2, 3)
Which two create an instance of an array?() A: int ia = new int [15]; B: float fa = new float [20]; C: char ca = “Some String”; D: Object oa = new float[20]; E: Int ia = (4, 5, 6) (1, 2, 3)
中国大学MOOC: 2)Learn 20 new words each week.
中国大学MOOC: 2)Learn 20 new words each week.
2) Learn 20 new words each week. A: 正确 B: 错误
2) Learn 20 new words each week. A: 正确 B: 错误
ArrayList list = new ArrayList(20);中的 list 扩充几次?
ArrayList list = new ArrayList(20);中的 list 扩充几次?
关于二维数组的创建,以下做法正确的是: (1)int a[][] =new int[4][5] (2)int a[][] =new int[4][]; a[0]=new int[10];a[1]=new int[20]; (3)int a[][]; a=new int[3][]; a[0]=new int[3]; a[1]={1,2};a[2]={1,2,3};
关于二维数组的创建,以下做法正确的是: (1)int a[][] =new int[4][5] (2)int a[][] =new int[4][]; a[0]=new int[10];a[1]=new int[20]; (3)int a[][]; a=new int[3][]; a[0]=new int[3]; a[1]={1,2};a[2]={1,2,3};