//If you don't write the constructor explicitly, compiler will generate a no-args constructor by default. public Maze(){ }