My Java Quiz

The ultimate place to learn Java!

Question #36: What will be the result?

class Test {

  static class A {}
  static class G {}

  public static void main(String[] args) {
    System.out.println(new G() instanceof G);
  }

}