previous | start | next

Syntax 5.2. Block Statement

  {
   statement
   statement
   . . .

}


Example:

 
{
      double newBalance = balance - amount;
   balance = newBalance;
}

Purpose:

To group several statements together to form a single statement



previous | start | next