Menu

Write Class Java Controls Drone Class Certain Public Methods Allow Ui Control Drone Displa Q43857192

Write a class in JAVA that controls a drone. The class will havecertain public methods that allow the UI to control the drone, anddisplay the drone location. The internal variables would track thedrone’s location (x, y and z coordinates). The public methods wouldallow the UI to change drone’s height and x/y position. The UIshould mimic a set of drone controls: Up/Down Forward/Backward TurnLeft/Turn Right There would also be a public method that retrievesthe current drone position (x, y and z). No actual graphic but youwill create a menu.

Not a GUI. Just a console UI.

Java

Expert Answer


Answer to Write a class in JAVA that controls a drone. The class will have certain public methods that allow the UI to control the…

OR