~/ learn/ java-from-zero/ cards/ The switch statement
1 of 2

Type a case with its break

Type a case with its break

Answer

case 1: name = "Mon"; break;

Without break, control falls through into the next case — a frequent and subtle bug.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/8fa37489-d406-4464-b339-c068afe9014a/flashcard utf-8 LF