Java Control statements in a programming language control the ways the program is executed from a point to another. There are three main categories : Selection, iteration and jump.

Control statements types

Selection statement control the execution of the program, based on certain conditions. For example if a condition is true then execute some code.  Selection statements are if and switch.

Iteration statements can  execute more times one or more statement, until reach certain condition. Iteration statements create loops and are for, while and do-while.

Jump statements move the control to another part of the program. Jump Statements are break, continue and return.

Categories: Java

4 Comments

Selection Statements (Java) - bSteatus · October 7, 2017 at 1:13 pm

[…] I told in a previous post selection statements control the execution of the program. There are two selection statemens, if […]

Iteration Statements (Java) - bSteatus · October 7, 2017 at 4:49 pm

[…] control statements create loops in you program. Execute same instruction/s until a certain condition is met. There are […]

Jump Statements - bSteatus · October 7, 2017 at 5:26 pm

[…] is the last control statements that i’m writing about. This statements let’s the program to jump to other parts of […]

Java String - bSteatus · October 17, 2017 at 2:20 pm

[…] Java Control Statements […]

Leave a Reply

%d bloggers like this: