Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

image text in transcribed

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)

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

More Books

Students also viewed these Databases questions