inheritance and interface concepts of java
Inheritance Definition – what is inheritance Types – Single inheritance Multilevel inheritance Multiple inheritance ( thru interface ) Hybrid inheritance What is inheritance • Inheritance is acquiring properties of a class by another class • Here, properties means that data and methods which are belongs to that base class • Properties owning class is called as base class or parent class or super class • Properties acquiring class is called as Derived class or child class or sub class Single inheritance • One child class to a ...