What is the output of the following code?
public void select(){int a = 2;switch(a){case 1: {System.out.println(case 1);}case 2: {System.out.println(case 2);}default: {System.out.println(default);}}}
Reveal answer
Fill a bubble to check yourself