Conditional Statement in Java|set 1

Conditional statements are used to perform different actions based on different conditions. ┬áIf Statement: The if statement is one of the most frequently used conditional statements.If the if statement's condition expression evaluates to true, the block of code inside the if statement is executed. If the expression is found to be false, the first set … Continue reading Conditional Statement in Java|set 1