Q. Which of these is used to handle exceptions?

  • (A) try-catch
  • (B) if-else
  • (C) for loop
  • (D) switch
πŸ’¬ Discuss
βœ… Correct Answer: (A) try-catch
Explanation: Exceptions are handled using try-catch blocks in Java.
Explanation by: Roshan
Exceptions are handled using try-catch blocks in Java.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
26
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Roshan
Publisher
πŸ“ˆ
99%
Success Rate