In java, there are 3 types of inheritance
- single level
No multiple and hybrid inheritance is there because it violates security. A user can make single class and use other multiple classes which violates security.
we cannot create an object of an abstract class. sealed classes also cannot be inherited.
Polymorphism: same name with multiple classes.
Programs to illustrate concept of method overloading.
Use of super keyword.