Q. Which block only executes when no exception is raised?

  • (A) retry
  • (B) raise
  • (C) ensure
  • (D) else
πŸ’¬ Discuss
βœ… Correct Answer: (D) else
Explanation: statement is present in between the rescue block and ensure block. This block only executes when no exception is raised.
Explanation by: Yatendra Sir
statement is present in between the rescue block and ensure block. This block only executes when no exception is raised.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
207
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Yatendra Sir
Publisher
πŸ“ˆ
82%
Success Rate