InterviewSolution
| 1. |
Discuss the different themes underlying object oriented technology |
|
Answer» Objects incorporate both data and behavior. This focuses on hiding important and relevant data of a class to reduce complexity and increase efficiency. 2. CLASSES AND INSTANCESObjects are OCCURRENCES of classes. A class is a conclusive explanation of a group of objects with similar properties and behaviors. 3. ENCAPSULATIONIt is used to hide the values of structured data inside a class to prevent unauthorized access. 4. POLYMORPHISMThis is the ability to process objects DIFFERENTLY DEPENDING on their data types and ability. it essentially means the ability to appear in many different FORMS. 5. INHERITANCEInheritance is a mechanism for sharing similarities among classes while preserving their differences. |
|