4.control Statements
4.control Statements
if statement
if-else statement
switch statement
Loop Statements
while loop
do-while loop
for loop
for-each loop
Branching Statements
break
continue
return
if statement
if (condition) {
// block of code to be executed if the condition is true
}