×
×
Correct!
Insert the missing parts to complete the following
int day = 2;
switch (@(3)) {
@(4) 1:
System.out.println("Saturday");
break;
@(4) 2:
System.out.println("Sunday");
@(5);
}
int day = 2;
switch (day) {
case 1:
System.out.println("Saturday");
break;
case 2:
System.out.println("Sunday");
break;
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 59 exercises.
Are you sure you want to continue?