Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Does the code in finally block get executed if there is an exception and a return statement in a catch block?
Does the code in finally block get executed if there is an exception and a return statement in a catch block?
✍: Guest
If an exception occurs and there is a return statement in catch block, the finally block is still executed. The finally block will not be executed when the System.exit(1) statement is executed earlier or the system shut down earlier or the memory is used up earlier before the thread goes to finally block.
2012-08-10, 2182👍, 0💬
Popular Posts:
How can I use tables to structure forms Small forms are sometimes placed within a TD element within ...
If cookies are not enabled at browser end does form Authentication work? No, it does not work.
What is the benefit of using #define to declare a constant? Using the #define method of declaring a ...
How To Create an Add-to-Google-Reader Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS ...
What does a special set of tags <?= and ?> do in a PHP script page? <?= express...