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



United States 趋势
Loading...

Something went wrong.


Something went wrong.