RE: Putting return() in catch block

Discussion in 'Java' started by Bhagya, Oct 26, 2005.

  1. Bhagya

    Bhagya Guest

    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
    Bhagya, Oct 26, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Saurabh
    Replies:
    6
    Views:
    4,503
    Chris Smith
    May 30, 2004
  2. John Bailo

    Putting return() in catch block

    John Bailo, Oct 26, 2005, in forum: Java
    Replies:
    7
    Views:
    18,486
    Roedy Green
    Oct 29, 2005
  3. John Black
    Replies:
    8
    Views:
    4,142
    Xenos
    Aug 20, 2004
  4. morrell
    Replies:
    1
    Views:
    936
    roy axenov
    Oct 10, 2006
  5. Sunfire

    putting <%# Bind() %> in server block

    Sunfire, Nov 5, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    328
    Sunfire
    Nov 5, 2007
Loading...

Share This Page