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. #AEWDynamite 16K posts
- 2. #Survivor49 2,633 posts
- 3. #SistasOnBET 1,891 posts
- 4. #iubb 1,540 posts
- 5. Athena 10.8K posts
- 6. #ALLCAPS 1,536 posts
- 7. Binnington 1,788 posts
- 8. Savannah 5,243 posts
- 9. Godzilla 27.9K posts
- 10. Mitchell Robinson N/A
- 11. Ovechkin 6,381 posts
- 12. Cade Cunningham 2,098 posts
- 13. Harley 11.6K posts
- 14. Unplanned 4,116 posts
- 15. Lamar Wilkerson N/A
- 16. Randle 3,107 posts
- 17. Claudio 49.2K posts
- 18. Paige 27.6K posts
- 19. Josh Okogie N/A
- 20. Jalen Duren 1,403 posts
Loading...
Something went wrong.
Something went wrong.