Q. Finally block is attached to?

  • (A) Try-catch block
  • (B) Class block
  • (C) Method block
  • (D) All of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) Try-catch block
Explanation: Finally, block of code runs at the end of the try-catch block.
Explanation by: Team MCQ Buddy
Finally, block of code runs at the end of the try-catch block.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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