int[] arr = new int[n]; // n = size of array

Read more of this post