Saved Bookmarks
| 1. |
Can You Explain What Inheritance Is And An Example Of When You Might Use It? |
|
Answer» 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. 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. |
|