Is an Object an Array
public class Main {
public static void main(String[] argv) throws Exception {
boolean b = "".getClass().isArray();
if (b) {
System.out.println("object is an array");
}
}
}
public class Main {
public static void main(String[] argv) throws Exception {
boolean b = "".getClass().isArray();
if (b) {
System.out.println("object is an array");
}
}
}