Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to put this Schedule class on UML into code, I have already put some of it but I am a bit confused. I

I need to put this Schedule class on UML into code, I have already put some of it but I am a bit confused. I shared my code below, it is incomplete can anyone help me to put Schedule class into code please?

image text in transcribed
Scheduler +Appointment (cal : Calendar, fullName : String, -scan: Scanner phone : TelephoneNumber, - appointments: Appointment [ ] activity: Activity) -aptIndex: int +Appointment (cal : Calendar, -SAVE APPOINTMENT: int firstName: String, last Name : String -DISPLAY APPOINTMENT: int phone : TelephoneNumber, -DISPLAY SCHEDULE: int activity: Activity) -EXIT: int ...plus getters and setters for all private fields +Scheduler () +toString () : String +launch () : void -displayMenu () : int -executeMenuItem (choice : int) : void TelephoneNumber - saveAppointment ToArray (apt : Appointment) : boolean -areaCode: int -displayAppointment (cal : Calendar) : void -prefix: int -lineNumber: int -displayDaySchedule (cal : Calendar) : void +TelephoneNumber (phoneNumber : String) -getResponseTo (s: String) : String -makeAppointment FromUser Input ( ) : +getAreaCode () : int Appointment +setAreaCode (areaCode : int) : void -makeCalendarFromUserInput ( ...etc. for all remaining getters and setters

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions