Question

2. Class Model for Product Given: Class Diagram for SystemUser Derive: Class Model for SystemUser, SystemAdministrator, and GeneralUser showing Inheritance and Polymorphism along with Compartments for Class Name, Attributes, and

Operations. Assumptions:o SystemAdministrator has the same attributes as SystemUser, but adds an attribute for a Super Password for accessing administrative parts of the system.GeneralUser has the same attributes as SystemUser.

Fig: 1