Programming Languages Java Mcq
Sep 24, 2025

Which keyword is used to prevent method overriding?

Choose the correct answer:
A) static
B) final
C) abstract
D) private
Detailed Explanation
The final keyword prevents method overriding in subclasses.
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback