Enums in switch: exhaustiveness and null
In one line: A switch expression must cover every constant or have a default; only case null handles null, and a switch statement may skip constants.
You’ve read your 2 free 1Z0-831 lessons
Sign up free to read every lesson — your progress is saved.