12345678910



Question 1: MethodX might encounter an IOException or an AWTException, but handles neither. How should the header for methodX be written?
1. ... methodX(...) throws IOException, AWTException
2. ... methodX(...) throws IOException or AWTException
3. ... methodX(...) throws IOException throws AWTException
4. ... methodX(...) throws (IOException, AWTException)