Results 1 to 2 of 2
  1. #1
    mqdias is offline Member
    Join Date
    Aug 2007
    Rep Power

    Default if..else..return

    Hi, i have a code: if.....else.

    After this two are closed, it follows a sequence of calculations and it finishes with this:


    What is the meaning of this "result"

    Thanks for any help!

  2. #2
    JavaBean's Avatar
    JavaBean is offline Moderator
    Join Date
    May 2007
    Rep Power


    I guess you mean "return"? If so it is just returning from that method. Since there is no return type (which is actually void type), you can remove/ignore that sentence.

Similar Threads

  1. there is no return statement
    By gabriel in forum New To Java
    Replies: 17
    Last Post: 12-03-2008, 04:55 PM
  2. Using int/int, 7/5 would return 1
    By zoe in forum New To Java
    Replies: 2
    Last Post: 12-02-2008, 11:25 AM
  3. return out of scope?
    By another_steve in forum New To Java
    Replies: 5
    Last Post: 01-28-2008, 09:34 PM
  4. Return value of method
    By cachi in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 08:23 AM
  5. Return to try block
    By Freddie in forum New To Java
    Replies: 2
    Last Post: 05-11-2007, 08:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts