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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started