Q. Which of the following keywords is used to catch exceptions?

  • (A) catch
  • (B) try
  • (C) throw
  • (D) finally
πŸ’¬ Discuss
βœ… Correct Answer: (A) catch
Explanation: catch block handles exceptions thrown inside the try block.
Explanation by: Rati Dubey
catch block handles exceptions thrown inside the try block.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
87%
Success Rate