Question: In JAVA LANGUAGE PLEASE: Develop an application named Prog3 that tests your Robot class. The test application will ask the user for the robot's name.
In JAVA LANGUAGE PLEASE:
Develop an application named Prog3 that tests your Robot class. The test application will ask the user for the robot's name. It will then instantiate a Robot object using the name. The application will then use a loop to ask the user to enter a direction ( X or Y) to move and the distance. The loop will terminate when the user enters a direction of q ( for quit). Once the loop is done, the program will display the robot's final position and the total distance is traveled.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
