What is inheritance?
Answers
Answered by
3
Explanation:
Inheritance is a mechanism in which one class acquires the property of another class. For example, a child inherits the traits of his/her parents.
Answered by
1
Answer:
meaning for inherent:
wherein a new class is derived from an existing class. In Java, classes may inherit or acquire the properties and methods of other classes. A class derived from another class is called a subclass, whereas the class from which a subclass is derived is called a superclass.
hope it helps u
mark me brainliest
Similar questions