Examveda
Examveda

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 hidden

Answer: Option B


This Question Belongs to Java Program >> Overriding And Overloading

Join The Discussion

Related Questions on Overriding and Overloading