0 votes
in JAVA by

Which of the following is a checked exception?

a) NullPointerException

b) RuntimeException

c) ArrayIndexOutOfBoundsException

d) IOException

1 Answer

0 votes
by

Solution: d) IOException

Explanation: IOException is a checked exception, which means that it must be either handled or declared.

Related questions

0 votes
asked May 2, 2021 in JAVA by sharadyadav1986
0 votes
asked Mar 21, 2023 in Data Analytics by Robin
...