Computer Science, asked by Anonymous, 1 year ago

What Is inheritance and how it is useful in java?

Answers

Answered by rajeevgupta39
9

Answer:

Hey guys follow me

Explanation:

Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of parent object. It is an important part of OPPs(Object Oriented programming system). The idea behind inheritance in java is that you can create new classes that are built upon existing classes.

MARK ME AS A BRANILIST

Answered by Aditi990
13

→ Inheritance is the process by which objects of one class can link and share some common properties of objects from another class.

→ It helps in reusability in such a way that it adds some additional features to a class without modifying the contents of class

\red

Similar questions