// System.out.println(new InnerChild.InnerInnerChild()); // NOT how! InnerChild x = new InnerChild(); System.out.println(x.new InnerInnerChild());