Multiple choice technology programming languages

The access level for overriding method can be less restrictive than the overridden method.

  1. True

  2. False

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

When overriding a method in Java, the subclass method is permitted to have a less restrictive access modifier than the parent method, but it cannot be more restrictive. For example, a protected method can be overridden as public.