answersLogoWhite

0

The if statement is used to select among two alternatives. It uses a boolean expression todecide which alternative should be executed. The switch statement is used to select among multiple alternatives. It uses an int expression to determine which alternativeshould be executed.

User Avatar

Wiki User

15y ago

What else can I help you with?