Vidyalelo
Java Programming · Q4

Overriding and Overloading

Programming · Java Programming · question 4

Q4

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
Answer
C.
The final method becomes static
D.
The final method is null

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board