I thought it would be null, but int default value is 0 right that's what it prints 0 am i right @abhisekroy169 ?
What will be printed ? int a[] = new int[5]; System.out.println(a[0]); A. Null B. Run time error C. 0 D. Others share your answer with reason 🎯 #Java
8
1
11
0
839
0
0
1
0
25
United States 趨勢
- 1. Wentz 12K posts
- 2. Vikings 36.8K posts
- 3. Chargers 43.9K posts
- 4. Herbert 12.9K posts
- 5. Pacers 15.6K posts
- 6. #Skol 4,200 posts
- 7. Brosmer 2,027 posts
- 8. #911onABC 12.8K posts
- 9. #TNFonPrime 1,897 posts
- 10. Siakam 3,418 posts
- 11. Rangers 30.1K posts
- 12. Ladd 4,352 posts
- 13. Quentin Johnston 1,168 posts
- 14. Gadsden 6,448 posts
- 15. Al Michaels N/A
- 16. Justin Jefferson 2,876 posts
- 17. Mathurin 2,504 posts
- 18. $UNI 2,254 posts
- 19. #BoltUp 2,666 posts
- 20. Ajay Mitchell N/A
Loading...
Something went wrong.
Something went wrong.