Question: C++ but using UML diagram (2) Consider to build a management system for a startup software company. There is a base class Person (which has
C++ but using UML diagram

(2) Consider to build a management system for a startup software company. There is a base class Person (which has name, birthday, address, sex and a method printlnformation)). Then 2 classes inherit Person. First is FullTimeWorker, which has a new field called salary and a new method called printMonthlySalary). The other class is Parttime Worker, which contains new fields workingHours, hourlySalary with a new method calculateMonthlySalary(). Design the type of each class member (i.e. field or method). Then draw the complete class diagram (25 pts)
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
