5.1 Declaration of Arrays int[] arr = new int[10]; Here, we have declared an array of size 10. arr is capable of holding 10 integer values. We can make arrays of any datatype we want. boolean[] boolArr = new boolean[3]; float[] flArr = new float[428];