Inheritance in JavaIn Java, when an "Is-A" relationship exists between two classes we use InheritanceThe parent class is termed super class and the inherited class is the sub classThe keyword "extend" is used by the sub class to inherit the features of super classInheritance is i...
See more
Download the Study24x7 App, so you can connect and collaborate.