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
D. The static method becomes final
Answer: Option C
Join The Discussion