InterviewSolution
Saved Bookmarks
| 1. |
When do we need to inherit? |
|
Answer» Suppose X is a class exist and we need new class Y having all properties of X and in addition to its own, then we need to inherit X class to derive Y class. |
|