12345678910



Question 1: Say that methodA calls methodB, and methodB calls methodC. MethodC might throw a NumberFormatException. Can the program be written so that methodA handles the exception?
1. No, the exception must be handled by methodC or its caller, methodB.
2. No, methodC must handle the exception.
3. Yes, if the header for methodC says ...throws NumberFormatException
4. Yes, if the headers for methodC and methodB say ...throws NumberFormatException