// instantiating an inner class from inside the outer class. Inner in = new Inner(); // instantiating an inner class from outside the outer class. Outer out = new Outer(); Outer.Inner in = out.new Inner();