Explanatory Question
(i) What will this code print ?
int arr[]=new int[5]; System.out.println(arr);
- 0
- value stored in arr[0]
- 0000
- garbage value
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.