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. […]

Share this article on