2.7.9.Determine whether an object is an array using the isArray() method of the Class class.
public class MainClass { public static void main(String[] argv) {
MyClass[] myObjectArray = new MyClass[10];
System.out.println(myObjectArray.getClass().isArray());
}
}