Question: 2. Define the following 3 terms: Object, Attribute, and Method. Provide 2 examples of each term. 3. Define encapsulation and explain how it is used
2. Define the following 3 terms: Object, Attribute, and Method. Provide 2 examples of each term. 3. Define encapsulation and explain how it is used in O-O analysis. 4. Explain the concept of Inheritance in object relationships. 5. Define the following 3 terms: Superclass, Class, Subclass. Provide 2 examples of each. 6. Define Polymorphism and provide an example. 7. 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
