Question: Write a class in JAVA that controls a drone. The class will have certain public methods that allow the UI to control the drone, and

Write a class in JAVA that controls a drone. The class will have certain public methods that allow the UI to control the drone, and display the drone location. The internal variables would track the drones location (x, y and z coordinates). The public methods would allow the UI to change drones height and x/y position. The UI should mimic a set of drone controls: Up/Down Forward/Backward Turn Left/Turn Right There would also be a public method that retrieves the current drone position (x, y and z). No actual graphic but you will create a menu.

Not a GUI. Just a console UI.

Java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!