Given this following code: int[][] a = new int[2][3]; Indicate all statements th
ID: 3794799 • Letter: G
Question
Given this following code:
int[][] a = new int[2][3];
Indicate all statements that are true.
a[0].length has a value of 2.
a.length has a value of 2.
a[2][3] is a cell of array a with a value of 0.
a[0][1] is a cell of array a with a value of 0.
Variable a has a primitive data type.
Array a is a two dimensional array.
a[0].length has a value of 2.
a.length has a value of 2.
a[2][3] is a cell of array a with a value of 0.
a[0][1] is a cell of array a with a value of 0.
Variable a has a primitive data type.
Array a is a two dimensional array.
Explanation / Answer
Answer: