InterviewSolution
Saved Bookmarks
| 1. |
Which of these keywords can be used to prevent Method overriding?(a) static(b) constant(c) protected(d) finalThis question was addressed to me in unit test.I'm obligated to ask this question of Method overriding in chapter Inheritance of Java |
|
Answer» The correct OPTION is (d) final |
|