Q27
What happens when a subclass tries to override a static method from the superclass in Java?
A.
It overrides the method successfully
B.
The static method is hidden
C.
It results in a compilation error
AnswerD.
The static method becomes final
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board