Handout 51 Programming - 2
Umair Javed BTE
What is Inheritance?
A process by which a class can extend another class, inheriting all its variables, methods, while redefining (overriding) some of them, and/or adding its own. Thus inheritance promotes code re-use. If a class "B" needs to define some behavior and a lot of that behavior is pre-defined in any other class "A" then instead of defining the...
Fill & Sign Online, Print, Email, Fax, or Download