Multiple choice technology programming languages

Overloaded methods should not throw new checked exceptions that have not been thrown by the original method?

  1. True

  2. False

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

Overloaded methods are distinct methods and can throw any checked exceptions. However, overridden methods in subclasses cannot throw new or broader checked exceptions than the original method. Thus, the statement is false.