Java Programming Tutorial Index

Flow Control

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.

Statement Description
Type declaration Statement To declare the type of variables being used in the program.
Arithmetic Statement To complete the arithmetic operation between constants and variables.
Control Statement To 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:
  1. Sequence Control Statement
  2. Selection or Decision Control Statement
  3. Repetition or Loop Control Statement
  4. Case Control Statement

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



Found This Page Useful? Share It!
Get the Latest Tutorials and Updates
Join us on Telegram