Computer Science, asked by Harini4574, 10 months ago

Describe the inheritance as applied to object oriented approach.

Answers

Answered by nakshatrapv18
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 Anonymous
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