KnowledgeBoat Logo
|

Computer Science

Define the following:

Inheritance

OOP Intro Java

10 Likes

Answer

Inheritance enables new classes to receive or inherit the properties and methods of existing classes. The class that acquires the properties is called the child class or sub-class or target whereas the class that gets inherited to another class is called the base class or super class.

Answered By

3 Likes


Related Questions