Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > RE: Putting return() in catch block

Reply
Thread Tools

RE: Putting return() in catch block

 
 
Bhagya
Guest
Posts: n/a
 
      10-26-2005

Hi,
If u r using return statement inside try catch block it wil
executed finally method, after it will return .

Just puting the statement using System.exit(0); instead of retru
statement.

Bhagy

-----------------------------------------------------------------------
IT Interview Questions : http://www.geekinterview.com IT Tutorials and Articles : http://www.geekarticles.com Oracle and Oracle Apps Training : http://www.exforsys.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will putting a cantenna in a flower planter block wireless signals. dicktracy28@hotmail.com Wireless Networking 3 01-31-2007 05:52 PM
Fo:Block can you check to see if a block contains any text by using the block id? morrell XML 1 10-10-2006 07:18 PM
Putting return() in catch block John Bailo Java 7 10-29-2005 01:19 AM
Difference between putting code in constructor and putting code in static{} Saurabh Java 6 05-30-2004 02:44 PM



Advertisments