if Java Keyword

Compiled By Unknown - No Comments
The if keyword indicates conditional execution of a block. The condition must evaluate to a boolean value.
  • An if statement may have an optional else clause containing code that is executed if the condition is false.
  • Expressions containing boolean operands can contain only boolean operands.
  • 
    if (condition)
    {
    
    }
    if (condition)
    {
    
    }
    else
    {
    
    }


    Tags:

    No Comment to " if Java Keyword "