Which of the following methods cannot be overridden in Java ?

2025

Which of the following methods cannot be overridden in Java ?

  1. A.

    Static methods

  2. B.

    Instance methods

  3. C.

    Abstract methods

  4. D.

    Final methods

Attempted by 60 students.

Show answer & explanation

Correct answer: D

Final methods cannot be overridden by subclasses as the final keyword prevents inheritance modification. Static methods are hidden rather than overridden, but final methods explicitly prohibit overriding.

Explore the full course: Tpsc Assistant Technical Officer