Java Exception
Q1.
Which block is used to handle exceptions in Java?
Q2.
Which of the following is a checked exception in Java?
Q3.
What is the purpose of the finally block?
Q4.
Which keyword is used to declare that a method may throw an exception?
Q5.
What happens if an exception is not handled in Java?