Java Control Statements | Java Decision Making

A programming language uses control statements to control the flow of execution of a program. In Java programming, we can control the flow of execution of a program based on some conditions. Java control statements can be put into the following three categories: selection, iteration, and jump.
The selection statements allow your program to choose a different path of execution based on a certain condition.
Iteration statements allow program execution to repeat one or more statements.
Jump statements transfer the control to other parts of the program.



Java Control Statements


1. Java Selection Statements:


The Java selection statements allow your program to choose a different path of execution based on a certain condition. Java selection statements provide different type of statements such as:




2. Java Iteration Statements:

Java Iteration statements allow program execution to repeat one or more statements. java Iteration statements provide different type of statements such as:



3. Java Jump Statements:

Java Jump statements transfer the control to other parts of the program. java Jump statements provide different type of statements such as:



You may also like these related posts:


Java Control Statements | Java Decision Making Java Control Statements | Java Decision Making Reviewed by Prashant Srivastava on December 16, 2019 Rating: 5

No comments:

Powered by Blogger.