Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
FREELessons:22Length:3.6 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

4.2 The Switch Statement

Sometimes, you may need to use a variety of if and else if statements back to back, to check one value against another. This process is referred to as branching, and Java has a switch statement made specifically for this kind of task. Let’s practice it in this lesson.