Which of these is an incorrect array declaration?

Q & ACategory: JavaWhich of these is an incorrect array declaration?
Admin Staff asked 5 years ago

Which of these is an incorrect array declaration?
a) int arr[] = new int[5]
b) int [] arr = new int[5]
c) int arr[] = new int[5]
d) int arr[] = int [5] new

1 Answers
Admin Staff answered 5 years ago

d) int arr[] = int [5] new