1.

Which of the following statements is correct about the array declaration given below? int[][][] intMyArr = new int[2][][];

A. IntMyArr refers to a 2-D jagged array containing 2 rows.
B. IntMyArr refers to a 2-D jagged array containing 3 rows.
C. IntMyArr refers to a 3-D jagged array containing 2 2-D jagged arrays.
D. IntMyArr refers to a 3-D jagged array containing three 2-D jagged arrays.
Answer» D. IntMyArr refers to a 3-D jagged array containing three 2-D jagged arrays.


Discussion

No Comment Found