Control Statements in Java

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

Post a Comment

0 Comments