What happens if you use a `switch` statement with no `case` matching the value in Java?
The program will continue executing the next line of code outside the `switch` block even if no `case` matches.
You're on the right track. When no `case` matches, the control simply exits the `switch` block. If there is a `default` case, it will be executed.
Can you explain how `default` works and whether it's mandatory in a `switch` statement?