QUESTION : 7
Imagine that there are two exception classes called Exception1 and Exception2 that descend from the Exception class. Given these two class definitions,
1. class First {
2. void
test() throws Exception1, Exception2 { . . . }
3. }
4. class Second extends First {
5. void test() { . . . }
Create a class called Third that extends Second and defines a test() method. What exceptions can Third's test method throw? Select all valid answers.
a. Exception1
b. Exception2
c. No checked exception
d. any exceptions declared in the throws clause of the Third's test() method
The question is from JQuest and The answer is: c.
Why? Please explain in detail.