-
Which of the following should be true of the object thrown by a thrown statement?
-
- Should be assignable to Error type
- Should be assignable to Throwable type
- Should be assignable to Exception type
- Should be assignable to String type
- None of these
Correct Option: B
The throw statement should be assignable to the throwable type. Throwable is the super class of all exceptions.