Q. Which of the following is a checked exception?

  • (A) NullPointerException
  • (B) RuntimeException
  • (C) ArrayIndexOutOfBoundsException
  • (D) IOException
πŸ’¬ Discuss
βœ… Correct Answer: (D) IOException
Explanation: IOException is a checked exception, which means that it must be either handled or declared.
Explanation by: Deepak Sahoo
IOException is a checked exception, which means that it must be either handled or declared.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
249
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Deepak Sahoo
Publisher
πŸ“ˆ
91%
Success Rate