In Java we can declare an array using the following:
String[] array = new String[10]; int size = array.length;
Does this mean that the arra
Every array in java is an object ex int[] a=new int [2]; So new is used to create an object and as it is an object we can check the class name just using a.getClass().getName();