How may I define an array in Java. when I am not sure of the Arrays size. I am doing it to avoid Null Pointers
int[] arr1 = new int[21];
int[] arr1 = {11,22,33};
These are of fixed length, i need to declare an Array where the items to be stored in it will be decided at run time?