About this document
OOP Concepts Explained by Erick is a document available to read on EtoBox.
1. Inheritance allows objects to acquire the properties and behaviors of a parent object and helps achieve runtime polymorphism through code reusability. 2. Polymorphism is when one task can be performed in different ways, such as drawing different shapes. In Java, method overloading and overriding achieve polymorphism. 3. Abstraction hides internal details and shows functionality, like a phone call hides internal processing. In Java, abstract classes and interfaces achieve abstraction.
- Author
- Erick
- Language
- EN