This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Exception Problem 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 "Exception Problem" Watch "Exception Problem" New topic

Exception Problem

victor kamat
Ranch Hand

Joined: Jan 10, 2007
Posts: 247

The output of the above code is

Why does the catch block in main not execute ?

[HENRY: Added Code Tags]
[ January 17, 2007: Message edited by: Henry Wong ]
marc weber

Joined: Aug 31, 2004
Posts: 11343

See this thread.

"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
I agree. Here's the link:
subject: Exception Problem
It's not a secret anymore!