Question: write a Mazesolver class in Java. Needs to prompt user for a maze filename and then explore the maze using an ArrayList. display how many
write a Mazesolver class in Java. Needs to prompt user for a maze filename and then explore the maze using an ArrayList. display how many exits were found and the positions of valid exits. please leave comments and make sure its ArrayList.

mazeA 79####################################### mazeB 7.12 \# \#\#\#\#\#\#\#\#\#\# \#\# \# \# \# \# \#\#\#\# \# \# \# \#. \#. \#\#\#\#\# \#\# \# \# \# \# \#\#\#\#\#\#\#\#\#\#\#\#\# mazeC 35 \# \# \# \#\# \#\#
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
