(It was asked in my interview today)
Exception handling
If we write some code after Finally block then how that code will execute and in which conditions?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sukesh MarlaRank #461 · 5.4K reputationPosted Aug 10, 2012, 10:46 AM EDT
(Means return statement written inside Try/Catch/Code Block before Try, and it executes)
(Writing return inside finally causes syntax error so obviously it doesn't matter).