Question: Polymorphism is not used in the following design. Explain how you would revise the class diagram so polymorphism is used. No need to draw the

Polymorphism is not used in the following design. Explain how you would revise the class diagram so polymorphism is used. No need to draw the diagram, just explain in text.

ODU issues two types of parking permits ---the student permit and the faculty/staff permit. Both types of permits specify the permit ID, issue date and cost.

The student permit also specifies the permit type (e.g., commuter, evening, residential, etc.), and the semester (e.g., Fall 2017). The faculty/staff permit specifies the group of faculty/staff (e.g, group 1, group 2, hourly employee, adjunct, etc.) and the academic year (e.g., year 2017/2018).The process of issuing the two types of permits are different. For example, the students registration status is checked before issuing a student permit, while payroll deduction is set up before issuing a faculty/staff permit.

Polymorphism is not used in the following design. Explain how you would

Parking permit -+ID +Issue Date +Cost Student Parking +Type +Semester +I 88 estudent Permit +CheckRegistration FacultyStaff Parking +Group Year +I 88 Parking

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!