@@ -0,0 +1,419 @@
+class TestClass%7B%0A   public static void main(String%5B%5D args)%7B%0A      A a = new A();%0A      B b = new B();%0A      System.out.println(a instanceof T1);%0A      System.out.println(a instanceof T2);%0A      System.out.println(b instanceof T1);%0A      System.out.println(b instanceof T1);%0A      System.out.println(a instanceof B);%0A   %7D%0A%7D%0Aclass A implements T1, T2%7B%7D%0Aclass B extends A implements T1%7B%7D%0Ainterface T1 %7B %7D%0Ainterface T2 %7B %7D%0A

Create instanceOf.java