Question
Design a class called Meeting to represent meetings in a dlary. The Meeting class has the following flelds: - time of the meeting represented
Design a class called Meeting to represent meetings in a dlary. The Meeting class has the following flelds: - time of the meeting represented as string in hours and minutes, - lacation of the meeting (such as "room 205"), - subject to represent the meeting's subject (such as "Examiner's meeting"). Time, location and subject are stored as strings. The class should include a constructor and the following methods: - set Time: to set the time. - sotLocation: to set the location. - setSubject: to set the subject. - getSubject: to return the subject of the meeting. - printDetaius: to print all information of a meeting in the following form: Meeting in room 205 at 12:30; Subject: Examiner's meeting. Draw the UML diagram for the class then implement the class and write a test program
Step by Step Solution
3.40 Rating (131 Votes )
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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