Java - Arrays
Identify the error in the following Java array declaration:
int arr[5];
int arr[5];
int arr[5]; tries to declare an array with size 5 but does not initialize it, which is invalid syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions