Q) True statement about throws and throw is/are
- Throws is used with the method signature.
- Throw is used within the method.
- using throws multiple exceptions can be declared
- All are correct.
Q) Which is not an exception in Java?
- IO Exception
- Logical Exception
- Array Index out of bound Exception
- Arithmetic Exception
Q) If an exception is thrown from try block in java program then which block handle the exception?
MCQ – Java Exceptions