Describe the inheritance as applied to object oriented approach.
Answers
Answered by
0
Answer:
Explanation:
Inheritance is the process in which objects of one class can link and share some common properties from the objects of another class
Answered by
0
inheritance in Java
- In Java, when an "Is-A" relationship exists between two classes we use Inheritance
- The parent class is termed super class and the inherited class is the sub class
- The keyword "extend" is used by the sub class to inherit the features of super class
- Inheritance is important since it leads to reusability of code
Similar questions
Math,
7 months ago
CBSE BOARD XII,
7 months ago
Social Sciences,
7 months ago
Political Science,
1 year ago
Political Science,
1 year ago
History,
1 year ago
Geography,
1 year ago
Science,
1 year ago