- Inheritance is one of the concept in object oriented programming language.
- Inheritance allows the class to use the methods and properties from another class
- The class which inherits the derived class is called sub-class and Base class is also called as
Super-Class - A Super-Class can have any number of Sub-Classes but a Sub-Class can have only on Super class, This is because JAVA doesn't support the multiple inheritance
0 comments:
Post a Comment