Testing a Condition

Whenever a Java program makes a decision, it does so by employing a conditional statement. During this hour, you'll be checking the condition of several things in your Java programs using the conditional statements if, else, switch, case, and break. You also will be using several conditional operators: ==, !=, <, >, and ?, along with boolean variables.