1.

What is meant by Inheritance?

Answer»

The term “inheritance” means “receiving some quality or behavior from a parent to an OFFSPRING.” In object-oriented programming, inheritance is the mechanism by which an object or CLASS (referred to as a child) is created using the definition of another object or class (referred to as a parent). Inheritance not only HELPS to keep the implementation simpler but also helps to facilitate CODE reuse.



Discussion

No Comment Found