Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Employment Management System (EMS) we have the following java files: Interfaces: University, and Users. Classes: Person (abstract class) sub of interfaces, Employee, Student, and ContactInformation.

Employment Management System (EMS) we have the following java files: Interfaces: University, and Users. Classes: Person (abstract class) sub of interfaces, Employee, Student, and ContactInformation. From the above interfaces and classes. Use multiple inheritance concept and other OOP techniques, answer the following:- 1) Draw the relationships class diagrams. (Help see: exercises 8.9, 10.69 [chapter 8, 10]). 2) Write a program to implement interface University, containing: Year_Established=2006, and Main_City=Jazan 3) Write a program to implement interface Users, containing: a) Methods: getUser( ), setUsers ( ) 4) Create an abstract class Person derived from University and containing: b) Personal_ID_Number, birthdate, Full_name, Gender, info (ContactInformation), Start_Date_Day (All these fields NOT change/update). c) The class contains an abstract method show () and concrete method displayInfo () for display person and University details. d) Write a constructor to initialize the above Person attributes. 5) Create class ContactInformation containing: a) Address, Cellular_Phone, Home_Phone, and Personal_ID_Number. b) Write a constructor to initialize the above ContactInformation attributes. 6) Create class Employee derived from Person and containing: a) EmployeeNo (int) (field NOT change/update), Employer_Office_Phone(String), Wroked_Hours(int), info (ContactInformation), and Type_of_Employee (String), b) Add setters/mutators and getters/accessors of Employee c) Write a constructor to initialize the above Employee attributes. d) Add second constructor which calls super class constructor. 7) Create class Student derived from Person and containing: a) Student_University_Id (int) (field NOT change/update), faculty_name (String), degree (String). b) Add constructor which calls super class constructor. 8) Create Employment_Management_System class that has a main method then:- Create objects for each concrete class, then call show and displayInfo

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

Azure Analytics is a suite made up of which three tools?

Answered: 1 week ago

Question

1. Which position would you take?

Answered: 1 week ago