InterviewSolution
Saved Bookmarks
| 1. |
8) When a class is defined with "final" keyword, the effect will be? |
|
Answer» When a CLASS is declared with final keyword, it is CALLED a final class. A final class cannot be EXTENDED(inherited). There are two uses of a final class : One is definitely to prevent inheritance, as final CLASSES cannot be extended. |
|