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.
Answer: 4
Q) Which is not an exception in Java?
- IO Exception
- Logical Exception
- Array Index out of bound Exception
- Arithmetic Exception
Answer: 2
Q) If an exception is thrown from try block in java program then which block handle the exception?
- Catch
- finally
- final
- finalize
Answer: 1