Question:
What is meant by Inheritance?
Author: mirudula laxmiAnswer:
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.
0 / 5 Â (0 ratings)
1 answer(s) in total