Multiple choice technology programming languages

If method is not inherited then it is not possible to override it

  1. True

  2. False

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

Only inherited methods can be overridden. Private methods are not inherited by subclasses, so they cannot be overridden. Similarly, final methods cannot be overridden even though they are inherited.