Q. How many finally blocks can there be in a try/catch structure?

  • (A) There must be 1.
  • (B) There can be 1 following each catch block
  • (C) There can be 0 or 1 following the last catch block.
  • (D) There is no limit to the number of finally blocks following the last catch block.
πŸ’¬ Discuss
βœ… Correct Answer: (C) There can be 0 or 1 following the last catch block.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
252
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
88%
Success Rate