Which of these keywords can be used to prevent Method Overriding ? *
Answers
Answered by
2
To disallow a method from being overridden, specify final as a modifier at the start of its declaration. Methods declared as final cannot be overridden.
Answered by
2
Explanation: To disallow a method from being overridden, specify final as a modifier at the start of its declaration. Methods declared as final cannot be overridden.
Similar questions