Question: (9.5 points) Write the code for the class Faculty StaffPermit which has: 1. Variables to store faculty/staff permit information as described above. II. A constructor

 (9.5 points) Write the code for the class Faculty StaffPermit which

(9.5 points) Write the code for the class Faculty StaffPermit which has: 1. Variables to store faculty/staff permit information as described above. II. A constructor with parameters to initialize a faculty/staff permit Information I. A method to calculate the cost of faculty/staff permit. IV. A method to return a faculty/staff permit information as follows: Faculty/Staff Permit (permit type): (permitid) permit's owner name (issue date) cost: OMR cost of permit for (year). For example, for a permit with ID 7621, owner name Ali Al Hasni, issue date 02-01-2013, permit type Academic, and year 2020/2021, the return value should be Faculty/Staff Permit (Academic): (7621) Ali Al Hasni (02-01-2013) cost: OMR 38.0 for (2020/2021). (9.5 points) Write the code for the class Faculty StaffPermit which has: 1. Variables to store faculty/staff permit information as described above. II. A constructor with parameters to initialize a faculty/staff permit Information I. A method to calculate the cost of faculty/staff permit. IV. A method to return a faculty/staff permit information as follows: Faculty/Staff Permit (permit type): (permitid) permit's owner name (issue date) cost: OMR cost of permit for (year). For example, for a permit with ID 7621, owner name Ali Al Hasni, issue date 02-01-2013, permit type Academic, and year 2020/2021, the return value should be Faculty/Staff Permit (Academic): (7621) Ali Al Hasni (02-01-2013) cost: OMR 38.0 for (2020/2021)

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!