Inheritance in Java
- 27th Sep 2017
- 1
- 12855
- significance of inheritance what is inheritance in java why do we need inheritance in java
Inheritance is one of the most important OOPS concepts where one class inherits or acquires the properties of another class. The class from which the properties are inherited is called Super class or Parent class The class which inherit the properties is called Subclass or Child class. We use “extends” keyword to achieve the same. […]