Question: 3. Define encapsulation and explain how it is used in O-O analysis. Explain the concept of Inheritance in object relationships. Define the following 3 terms:
3. Define encapsulation and explain how it is used in O-O analysis. Explain the concept of Inheritance in object relationships. Define the following 3 terms: Superclass, Class, Subclass. Provide 2 examples of each. Define Polymorphism and provide an example. If you are designing a Car Rental System for a company such as Avis or another car rental company, how could each vehicle be uniquely identified and located within the car rental parking garage?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
