Whenever I try to put an "instanceof" keyword it says it's an unexpected token . For information I ham using ArchLinux with an AUR java package.
public class TestZones {
class A{}
class B extends A{}
A a = new A();
B b = new B();
if(b instanceof A){}
}
This syntax does it on the if.