what is the meaning of inheritance
Answers
Answered by
1
property which transfer from parents to offspring.
Answered by
0
Answer:
Inheritance is a mechanism 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
Similar questions
Hindi,
6 months ago
Physics,
6 months ago
Social Sciences,
6 months ago
Chemistry,
1 year ago
Psychology,
1 year ago