Answered step by step
Verified Expert Solution
Question
1 Approved Answer
**Language is Java** for this quesiton could you also write a UML diagram of the code on paper please. Thank you! could you also use
**Language is Java**
for this quesiton could you also write a UML diagram of the code on paper please. Thank you!
could you also use one of book, camera, phone, or sports game for the option.
Directions: Choose one of the objects at the bottom of this page. Create one class that will be used to construct, manipulate, and access each instance of the object you choose. Upon completion, your work will be shared with the class. Be prepared to share your work, discuss what you did, and answer questions that your fellow classmates and teacher may have regarding your code. Your project MUST include the following items: 1. Instance Variables 2. State Variables with Constructor Methods 3. Default Constructor Method - to create a generic object without parameters. 4. Constructor Method(s) - at least one other constructor method customize the object that is created 5. Mutator Method(s) - at least one mutator method that changes the state of the object. 6. Accessor Method(s) - at least one accessor method that access object data. 7. Encapsulation - a main method that tests all aspects/methods of your class. 8 Comment - Add a comment at the top of your code that contains all group member names Choose from one of the following options: . . . . . Camera - Include turning the camera on/off, take a picture, zoom status, plus more! Book -- Be able to open/close book, track page #, turn page forward/backwards, plus more! Student --Track student first name, last name, ID number, schedule, plus more! Phone - Track if the phone is active, make a phone call, is the phone ringing, plus more! CD-Track which song is playing, be able to select a song, skip a song, go back a song, plus more! Sports Game - Pick a sport, create a game object, track score for both teams, plus more! Airplane - Track number of passengers, destination, runningot running wheel status, plus more! Radio - Track the station it is tuned to switch between AM/FM, change station, plus more! Password-Protected Gate/Door -- Have a password, user use of code to open, lock/unlock, plus more! Restaurant Order - Have a menu so user picks drink, main dish, & side dish. Track order, print order, plus more! Digital Shower Control - Turn the shower on/off, track and manipulate water temperature, plus more! Television - Track the station that is tuned to, switch channels, change station, plus more! Appointment Creator - Tracks date, time, and reason for appointment, can edit/print appointment, plus moreStep 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