Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this assignment, you will use object-oriented programming techniques to model a basic University system 1. You will need to model the following classes: Address,
In this assignment, you will use object-oriented programming techniques to model a basic University system 1. You will need to model the following classes: Address, Person, Student, Staff and Faculty. You may also model other classes as needed. 2. Provide three interfaces: Employee (with a salary0 method), and child interfaces (with Instructor(with a creditsTaught0 method) and Administrator position0 method). You may also provide other interfaces as needed. a 3. You will need to capture the following data members: first name, middle name, last name, date of birth, gender, address first line, city of address, state of address, zipcode of address, current semester enrolled in, number of credits completed, graduation status, PhD status for graduate students, number of credits currently enrolled in, department of employment, major and salary. Decide carefully where each data member (there are 17 data members listed) should be stored. 4. You may provide additional data members as needed. 5. Accessors should be provided for all data members 6. No mutators should be provided for any data member. The only way to modify data members from any class outside this hierarchy is to use the constructors (directly) or the methods below (indirectly). 7. Your implementation should include abstract classes, "concrete" classes, interfaces, inheritance and polymorphism
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started