second_true_statement else false_statement if the first boolean expression is falsethe second boolean expression will be testedand so on an if statement can have an arbitrary number of else if parts for examplethe following is correct if statement if (snowlevel gotoclass()comehome()else if (snowlevel gosledding()havesnowballfight()else stayathome()switch statements java provides for multiple-value control flow using the switch statementwhich is especially useful with enum types the following is an indicative example (based on variable of the day enum type of section switch (dcase mon