2.7.8.This line is not legal: if (x instanceof [])
public class MainClass { public static void main(String[] argv){ int[] intArray = new int[2]; if(intArray instanceof []){
System.out.println("it is an int array");
}
}
}
Syntax error on token "instanceof", boolean expected after this token