Given this following code int a new int23 Indicate all stat

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.

Solution

Answer:

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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site