what is inheritence
Answers
Answered by
2
In object-oriented programming, inheritance is the mechanism of basing an object or class upon another object or class, retaining similar implementation. Also defined as deriving new classes from existing ones and forming them into a hierarchy of classes
Answered by
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