Knowledge check

Completed 200 XP

Check your knowledge

1.

What is the purpose of a default case in a switch statement?

2.

What happens if a break statement (or alternative keyword that prevents "fall-through") is omitted in a switch case?


Next unit: Summary

Previous Next