ExamVeda
Login
Home
This question belongs to Java Program Array
Array
?

Which of these is an incorrect array declaration?

Answer & Solution
Correct Answer: Option D
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Piyush Jain
Piyush Jain 2 years ago
C is also wrong.
error: '[' expected int arr[] = new int index[5];
error: ']' expected int arr[] = new int index[5];