adplus-dvertising
frame-decoration

Question

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

Posted under Java Programming

Answer: (d).int arr[] = int [5] new

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these is an incorrect array declaration?