Advertisements
Advertisements
Question
What will this code print?
int arr[] = new int[5];
System.out.println(arr);
Options
0
value stored in arr[0]
0000
Garbage value
MCQ
Solution
Garbage value
shaalaa.com
String Array
Is there an error in this question or solution?