Q1
Which of the following is a checked exception in Java?
mediumCorrect Answer: IOException
Explanation:
IOException is a checked exception that must be declared in a throws clause or caught, whereas NullPointerException, ArithmeticException, and ArrayIndexOutOfBoundsException are unchecked RuntimeExceptions.