Thursday, October 31, 2019

Interesting Facts in Java


  1. The maximum size of a List Array: Although I have not tried to put those many items in the List Array, I can say It's the maximum size of int type because the only way to access the items in the list is list.get(int i)
  2. Difference between declarations "int[] array = {0,0};" and "Interger[] array = new Integer[]{0,0}" :