fork(12) download
  1. class Ideone {
  2. public static class A {}
  3. public static class B extends A {}
  4.  
  5. public static void main(String[] args) {
  6. A a = new A();
  7. System.out.println(a instanceof B);
  8. }
  9. }
Success #stdin #stdout 0.07s 380224KB
stdin
Standard input is empty
stdout
false