Which of the following is the correct way to declare a multidimensional array in Java?

Trương Duy

New member
Which of the following is the correct way to declare a multidimensional array in Java?
A. int[] arr;
B. int arr[[]];
C. int[][]arr;
D. int[[]] arr;
 

Tìm kiếm

Back
Top