Swift - Control Flow
Identify the error in this Swift switch statement:
let x = 2
switch x {
case 1:
print("One")
fallthrough
case 3:
print("Three")
}let x = 2
switch x {
case 1:
print("One")
fallthrough
case 3:
print("Three")
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions