Java statements

It is an instruction, which tells JAVA what to do next.

For example:
int age = 28;

Above example is a basic statement. Above type of statements is called an assignment statement because it sets a value of a variable.

A statements ends with a semicolon (;).
JAVA stops processing statement when it read the semicolon.

Some other examples of statements are:

System.out.println(“Welcome to JAVA”);