educative.io

Test Your Knowledge - Java Exception Handling Made Simple

Hi everyone I have a doub in this test,
In question 4 shouldn’t the answer be that the code do not compile ? because the exception is not declared in the signature of the method.

@brayan Thank you so much, and we have updated the question.