Multiple choice technology programming languages

Select three correct statements.

  1. A static method may override another static method.

  2. A static method cannot override a non-static method.

  3. A non-static method cannot override a static method.

  4. A non-static method may be overloaded by a static method.

  5. A synchronized method cannot be overridden.

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Explanation

Static methods belong to the class, not instances - they can't override non-static methods (different binding mechanism), and non-static methods can't override static methods. Overloading a non-static method with a static one works by signature but is poor practice (different binding). Static methods can be hidden by other static methods (shadowing), not truly overridden. The synchronized keyword affects thread safety, not override capability.