InterviewSolution
Saved Bookmarks
| 1. |
State two advantages of using the concept of inheritance in Java |
|
Answer» (i) Existing code can be reused and functionality can be extended. (ii) New members to the derived class can be added. (iii) Implementation of existing methods can be replaced by overriding a method that already exists in the base class. |
|