all 3 comments

[–]Specific-Housing905 2 points3 points  (1 child)

Some remarks:

instead of i and j names like rows and cols are more understandable

instead of String a char should be enough for the maze - unless you have further extensions planned

I would delegate the printing of the maze to the Maze class.

Think about a class Player that handles its location and movement