Java Programming/Keywords/if

is a Java keyword. It starts a branching statement.

The general syntax of a, using , is

branching-statement ::= condition-clause single-statement | block-statement [                                      single-statement | block-statement ] condition-clause   ::=   Boolean Expression   single-statement   ::= Statement block-statement    ::=   Statement [ Statements ]  

For example:

See also:
 * Java Programming/Keywords/else