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. Dodgers 769K posts
- 2. World Series 408K posts
- 3. Blue Jays 155K posts
- 4. Yamamoto 240K posts
- 5. Will Smith 53.8K posts
- 6. jungkook 346K posts
- 7. Miguel Rojas 46.5K posts
- 8. Nigeria 775K posts
- 9. #River 5,064 posts
- 10. Yankees 16.5K posts
- 11. #Worlds2025 44K posts
- 12. Carlos Manzo 318K posts
- 13. Kershaw 40.1K posts
- 14. Game 7 237K posts
- 15. Baseball 174K posts
- 16. #T1WIN 14.8K posts
- 17. Kendrick 19K posts
- 18. Vladdy 23.5K posts
- 19. Dave Roberts 15.4K posts
- 20. Ohtani 94.4K posts
Loading...
Something went wrong.
Something went wrong.