File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes New question on K&B Chapter 9 Question 17 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "New question on K&B Chapter 9 Question 17" Watch "New question on K&B Chapter 9 Question 17" New topic
Author

New question on K&B Chapter 9 Question 17

Karen Marie
Greenhorn

Joined: Nov 10, 2007
Posts: 23


Why does F execute? I would have thought after the exception was thrown it would stop execution.
kurt hanni
Ranch Hand

Joined: Aug 11, 2007
Posts: 140

the exception in hardy thread was handled by the catch block, so code will continue on and "F" will be printed.


SCJA, SCJP, SCJD, SCMAD, SCWCD, SCBCD, SCDJWS, SCEA, SOA, Spring Certified, OCP MySQL 5 Developer, PMP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New question on K&B Chapter 9 Question 17
 
Similar Threads
Query on the behavior of Thread sleep
Thread question from K&B book
How does this work?.Please explain
Doubt in Threads
thread question in k&b's book for 1.5 (3)