Define a class faculty. The faculty contains the following attributes.
•
Name of the faculty,
•
qualification of the faculty,
•
subjects he can teach. Inherit the faculty class into regular faculty and visiting faculty. The regular faculty is
•
available full time. No consulting time is specified.
•
Teaches at least 3 subjects.
•
Is part of the institute only. While visiting faculty.
•
Is available only on two to three days.
•
Consulting time is also to be specified.
•
Teaches a single subject.
•
Is part of some other institute.
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-55488.pdf
Comments
Leave a comment