Java Programming
primer-original-v2mediumJavaException HandlingChecked Exceptionsprimer-original-v2

Which of the following is a checked exception in Java?

Answer options

A
NullPointerException
B
ArrayIndexOutOfBoundsException
C
IOException
D
ArithmeticException

Correct answer: IOException

Explanation

Quick AnswerThe correct answer is IOException because it directly addresses the core logic of Java Programming.

This question has been retained as-is due to its unique context.

Related Java Programming questions

Practice more Java Programming questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.