User Id :    Password :      New Member   Forgot Password  
Topic: Can you explain what inheritance is and an example of when you might use it?
Anamika singh
11 Oct 2010 at 03:35 AM
Can you explain what inheritance is and an example of when you might use it?
Re: Can you explain what inheritance is and an example of when you might use it?
Gaurav
12 Oct 2010 at 02:32 AM

When you want to inherit (use the functionality of) another class. Example: With a base class named Employee, a Manager class could be derived from the Employee base class.

Total Replies: 1
 
Featured Text Ad

Featured Ad