Question: What is wrong with my code here? test/MazeSolverHardCodedTests.java:85: error: method getMoves in class MazeSolver cannot be applied to given types; String[]x=solver.getMoves(); required: int, int found:
What is wrong with my code here?

![class MazeSolver cannot be applied to given types; String[]x=solver.getMoves(); required: int, int](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4e420837f9_21666f4e42036676.jpg)
test/MazeSolverHardCodedTests.java:85: error: method getMoves in class MazeSolver cannot be applied to given types; String[]x=solver.getMoves(); required: int, int found: no arguments reason: actual and formal argument lists differ in length 1 error failed - Test 0 : : error:: Error: Exit with code: 1 and signal: null
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
