<modifiers> <type> Name ( <type> Param1, <type> Param2, ... )
{
<statement>;
...
<statement>;
}
where the things in <brackets> stand for legal words or statements for
that thingif ( <boolean expression> ) <true-statement>; else <false-statement>;where <boolean-expression> is some expression that results in true or false, and <true-statement> is the statement to do if the expression was true, and <false-statement> is the statement to do if the expression was false
if ( <boolean-expression> )
{
<statements>;
}
else
{
<statements>;
}