Lessons:22Length:3.6 hours
• 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.