Mega Code Archive

 
Categories / Java Tutorial / Statement Control
 

Expressions

Some expressions can be made statements by terminating them with a semicolon. For example, x++ is an expression. However, this is a statement: x++; Statements can be grouped in a block. A block is a sequence of the following programming elements within braces: statements local class declarations local variable declaration statements