Science, asked by nishant581277, 10 months ago

what is meant by inheritance..​

Answers

Answered by Anonymous
3

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.

HOPE IT HELPS ✌️

PLZ FOLLOW ME AND MARK IT A BRAINLIEST ANSWER ✌️

Answered by C0R0NA
0

What is Inheritance?

=> The passing on of genetic traits from parents to offspring.

  • It refers to the transmission of genes from one generation to another.
  • These genes contain the genetic information which is passed on to the progeny by inheritance.
Similar questions