Vidyalelo
Data Structure · Q119

Introduction to Data Structures

Programming · Data Structure · question 119

Q119

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

A.
int[] arr;
B.
int arr[[]];
C.
int[][]arr;
Answer
D.
int[[]] arr;

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board