Multiple choice

What is wrong with the following code? Switch(x) {Case 1: num1 = 100; num2 = 200; Case 2: num3 = 300: Break; num4 = 400;}

  1. Nothing is wrong

  2. Break is not used in case 2

  3. Default is not there

  4. Num4 = 400 is not reachable

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Though num 4 is not reachable but as for as code is concerened there is nothing wrong. May be the programmer wants it like that.