Which of these keywords can be used to prevent Method overriding?
A. static
B. constant
C. protected
D. final
Answer:A
Which of these keywords can be used to prevent Method overriding?
A. static B. constant C. protected D. final
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.