Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please full answer do not give me half answer Academic honesty: You must only upload a pdf file in the blackboard and not word document.

image text in transcribed

please full answer do not give me half answer

Academic honesty: You must only upload a pdf file in the blackboard and not word document. Student who submit copied work will obtain a MARK OF ZERO. Late work or attach file by email not allowed. 2. Write a java code for the following 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 displaylnfo () 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 contact Information 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 displaylnfo

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

Students also viewed these Databases questions