if-then:
code block runs if condition is true
if-then-else:
one block runs if conditions is true
another block runs if condition is false
if-then-else chained:
same as if-then but an arbitrary number of conditions
switch:
switch block runs if condition value matches case value
https://www.codecademy.com/courses/learn-java/lessons/java-conditionals-and-control-flow/ Specific conditional statements have the following behavior:
if-then: code block runs if condition is true if-then-else: one block runs if conditions is true another block runs if condition is false if-then-else chained: same as if-then but an arbitrary number of conditions switch: switch block runs if condition value matches case value