Question: 1 . Write a ` Lecturer ` Class that consists of the following attributes : Name, Surname, Age , Course , stuff Number. 2 .
Write a Lecturer Class that consists of the following attributes : Name, Surname, Age Course
stuff Number.
Write a Constructor that initializes all the attributes
Write Get and Set Methods for all the attributes.
Write a Method that displays all the information of the lecturer.
Write a Main function that tests the functionality of all the Methods above.
Write a AllocateTimeSlot Method that takes as input the lecturer stuff Number and returns a
randomly allocated timeslot time slot range
st
th
Write a AllocateTimeSlot Method that takes no input and returns a randomly allocated
timeslot time slot range
st
th
ReWrite the SetName and SetAge Methods in such a way that you make use of this method.
Write a Main function that tests the functionality of all the Methods above starting from to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
