(i) What will this code print ?
int arr[]=new int[5]; System.out.println(arr);
- 0
- value stored in arr[0]
- 0000
- garbage value
Views 13
Answer:
This code will print garbage value
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.