Design a class called Meeting to represent meetings in a diary. The Meeting class has the following fields: | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Design a class called Meeting to represent meetings in a diary. The Meeting class has the following fields:

time of the meeting represented as string in hours and minutes, - location of the meeting (such as "room 205"), • subject to represent the meeting's subject (such as "Examiner's meeting"), The time,location,subject is string The class should include a constructor and the following methods: setTime: to set the time. setLocation: to set the location. setSubject: to set the subject. getSubject: to return the subject of the meeting, printDetails: to print all information of a meeting in the following form:

22nd Jun 2022, 12:26 PM
Half Student
Half Student - avatar
4 Answers
+ 1
Where is your attempt so that people can help you debug?
22nd Jun 2022, 12:51 PM
Justice
Justice - avatar
0
What is your question?
22nd Jun 2022, 12:49 PM
Justice
Justice - avatar
0
Do you know any of part of the Java language?
22nd Jun 2022, 3:15 PM
Chris Coder
Chris Coder - avatar
- 1
Need program
22nd Jun 2022, 12:49 PM
Half Student
Half Student - avatar