R

Ranjeet • 34.60K Points
Instructor I

Q. What happens when a subclass tries to override a final method from the superclass in Java?

  • (A) The final method is hidden
  • (B) It results in a compilation error
  • (C) The final method becomes static
  • (D) The final method is null
  • Correct Answer - Option(B)
  • Views: 38
  • Filed under category JAVA

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.


Question analytics