Java - statements

Statements are important elements for writing programs. Generally one statement line corresponds to one line program. The main group of the statements are: cycles, program branching and flow control.

Examples - Java

Java
 i = x * 5;
 while (i>0)
   if (i==10)
     break;
   else 
   {
     i--;
   }

Other pieces of example codes:
Java
continue;
x = 1 | 2;
while (y>1)
{
  x++;
  y--;
}
do --i; while ( i > 0);
i++;
while (i>0)
   if (i==10)
     break;
   else 
   {
     i--;
   }
Languages: en hu cz sk