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:
If I write System.exit (0); at the end of the try block, will the finally block still execute?
If I write System.exit (0); at the end of the try block, will the finally block still execute?
✍: Guest
No in this case the finally block will not execute because when you say System.exit (0); the control immediately goes out of the program, and thus finally never executes.
2013-06-04, 3537👍, 0💬
Popular Posts:
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The he...
How can you determine the size of an allocated portion of memory? You can't, really. free() can , bu...
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy &a...
What are the five levels in CMMI? There are five levels of the CMM. According to the SEI, Level 1 – ...