Primitive Array
int[] arr = new int[3];
Exception in thread "main"
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
ArrayList Object
ArrayList<Integer> list = new ArrayList<>(3);
O(N) Array Resize & Copy!
internal array: Object[] elementData
size: 0
capacity: 3