Statements

We actually defined a statement once in Chapter 2Java Language Basics. It is a complete action that can be executed. It can include one or more expressions and ends with a semicolon ;.

A Java statement describes an action. It is a minimal construct that can be executed. It may or may not include one or more expressions.

The possible kinds of Java statements are: 

A statement can be labeled by placing an identifier and colon : in front of it. This label can be used by the branching statements break and continue to redirect the control flow. In Chapter 10, Control Flow Statements, we will show you how to do it.

Most often, statements compose a method body, and that is how programs are written.