For the two code segments below: Segment A: int q = 5; switch(q) { case 1: ... println(1); case 2: ... println(2); case 3: ...
A. The output is 5, 1, 2.
B. The output is 5, 2.
C. The output is 1, 2.
D. The output is 5 only.