Java Tutorial : Inheritance and Interfaces – Summary
- Inheritance is the concept of extending data members and methods of a superclass in a subclass.
- You can derive data members and methods from a single superclass that is a subclass of another superclass.
- Java does not support multiple inheritance directly.
- You can use the concept of method overriding to override the superclass method with the subclass method having same names.
- Interface is a concept of creating data members and methods that can be derived by multiple classes in Java.
- Interfaces also allow you to declare set of constants that can be imported into multiple classes.
Inheritance and Interfaces related Tutorial Article
- Java Tutorial : Inheritance In Java – Part 1
- Java Tutorial : Inheritance in Java – Part 2, Example
- Java Tutorial : Multilevel Inheritance
- Java Tutorial: Implementing Overriding Methods
- Java Tutorial : Implementing Interfaces
- Java Tutorial : Implementing Interfaces – Example

