Saturday 6 April 2013

What is inheritance?

What is inheritance?

Inheritance allows one class to reuse the state and behavior of another class. The derived class inherits the properties and method implementations of the base class and extends it by overriding methods and adding additional properties and methods.




Blog Author: Vijay Kumar

No comments:

Post a Comment