File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New question on K&B Chapter 9 Question 17

 
Karen Marie
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why does F execute? I would have thought after the exception was thrown it would stop execution.
 
kurt hanni
Ranch Hand
Posts: 140
Eclipse IDE Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the exception in hardy thread was handled by the catch block, so code will continue on and "F" will be printed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic