Java Control Statements

java-Logo
Java Tutorials
Java Environment
Environment Setup
Declaration & Assignments
Flow Control
Miscellaneous
Java OOPs

As you know, the statement is the instruction given to the computer that performs specific types of work. They can make decisions and repetitive tasks.

The statements are of the following three types.

StatementDescription
Type declaration StatementTo declare the type of variables being used in the program.
Arithmetic StatementTo complete the arithmetic operation between constants and variables.
Control StatementTo control the sequence of execution of different statements of the program.

Control Statement

The statements that control the execution flow of the program are known as control statements.

In a program, we modify and repeat the data several times. We need some tools for these modifications that will control the flow of the program, and to perform this type of tasks Java Provides control statements.

There are four types of control statements:

In the next chapter, you will study the control statement in detail.


Scroll Back to Top