public class MainClass{ public static void main(String[] args) { Outer outer = new Outer(); Inner inner = outer.new Inner(); } } class Outer { class Inner { Inner() { } } }
Inner cannot be resolved to a type