What Is inheritance and how it is useful in java?
Answers
Answered by
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
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
Similar questions
Science,
6 months ago
Social Sciences,
6 months ago
Physics,
6 months ago
English,
1 year ago
History,
1 year ago
History,
1 year ago
Social Sciences,
1 year ago