A

Admin • 828.03K Points
Coach

Q. What is the purpose of the "final" keyword in Java inheritance?

  • (A) To hide a superclass method
  • (B) To indicate that a class can be inherited only once
  • (C) To make a method non-abstract
  • (D) To indicate that a class cannot be further extended
  • Correct Answer - Option(D)
  • Views: 7
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.