Login
Remember
Register
Ask a Question
Which of the following is an example of a checked exception in Java?
0
votes
asked
May 12, 2024
in
JAVA
by
rahuljain1
Which of the following is an example of a checked exception in Java?
A) ArrayIndexOutOfBoundsException
B) IllegalArgumentException
C) RuntimeException
D) FileNotFoundException
checked
exception
java
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 12, 2024
by
rahuljain1
Answer: D
Explanation: FileNotFoundException is an example of a checked exception in JavA) Checked exceptions are checked at compile-time and must be caught or declared in the method signature.
...