Menu
×
×
Correct!
Exercise:Complete the
int day = 4;
switch (@(3)) {
@(4) 1:
System.out.println("Saturday");
break;
@(4) 2:
System.out.println("Sunday");
@(5);
@(7):
System.out.println("Weekend");
}
int day = 4;
switch (day) {
case 1:
System.out.println("Saturday");
break;
case 2:
System.out.println("Sunday");
break;
default:
System.out.println("Weekend");
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 59 exercises.
Are you sure you want to continue?