This discussion is archived
2 Replies Latest reply: Jan 4, 2005 8:50 AM by PhHein RSS

control flow

807596 Newbie
Currently Being Moderated
I still have a problem dealing with control flow statements, e.g. if(current != null)
What does that mean?
  • 1. Re: control flow
    807596 Newbie
    Currently Being Moderated
    I still have a problem dealing with control flow
    statements, e.g. if(current != null)
    What does that mean?
    It means that the body of the "if" statement will be entered if the 'current' variable does not contain a null reference (i.e., it points to an object).
  • 2. Re: control flow
    PhHein Guru Moderator
    Currently Being Moderated
    I still have a problem dealing with control flow
    statements, e.g. if(current != null)
    What does that mean?
    This tutorial might help you:

    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/flow.html

    Sorry, Sun still didn't get the url tags fixed.