Multiple choice technology programming languages

The method which is marked as static can not be overridden.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Static methods belong to the class, not to instances. While a subclass can declare a static method with the same signature, this is method hiding, not overriding. There's no polymorphism for static methods - the method called is determined at compile-time based on the reference type.