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;
Answer: Option C
Related Questions on Introduction to Data Structures
A. A collection of data values
B. A programming language
C. A set of algorithms
D. A way of organizing and storing data

Join The Discussion