Computer Science, asked by sudharsansd8055, 10 months ago

Which of these keywords can be used to prevent Method Overriding ? *​

Answers

Answered by cutieshreya15
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 hariharan11122006
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