Control statements in Java are
If Else statements

Examples:

Examples:

Examples:

Examples:

Ternary Operator


It replace the if else condition in just one line of code.

Switch Case statement