Question: Below is a Class Diagram Example, Read and answer the following questions: Now we extend the given diagram. The Professor class aggregates a Salary' class,

Below is a Class Diagram Example, Read and answer the following questions: Now we extend the given diagram. The Professor class aggregates a Salary' class, which has fields named salaryPerHour (Dollars), baseSalary (Dollars), extraWorkingHours (int) and a method called calculateSalary (return float). A class PartTimeStudent inherits the class Student with new fields workplace (String), availability (int) and a method scheduleExam (return String). Revise the class Professor based on the Salary class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
