I\'m trying to make a Tetris game and I\'m getting the compiler error
Shape is not an enclosing class
when I try t
No need to make the nested class as static but it must be public
public class Test { public static void main(String[] args) { Shape shape = new Shape(); Shape s = shape.new Shape.ZShape(); } }