Operators

Switch-Case Statement in Java 14

1/15

What is the output of this: 

int z = 8;
switch (z) {
    case 1:
        System.out.println("Fall to one");
    default:
        System.out.println("default");
    case 3:
        System.out.println("Fall to three");
    case 4:
        System.out.println("Fall to four");
}
Comments