Why is default required for a switch on an enum?
What is the usage of default when the switch is for an enum?
using enum in switch/case How to use enum in switch case Switch case with enum in Android Java Enum on a switch statement Switch on enum in Java does not go to correct case Enum type in java, switch cases Use of string resources in enum and use in switch case switch case statement with enum or not with enum Java using enum with switch statement How to use enum with switch statement? Switch statement with enum in Java Using switch for String in Java 1.6 with different enum type Can I get rid of this switch and enum? Enum with constructor in switch-statement using enum in switch, and returning result to another class Switch on enum method thread error Can't access enum values inside Switch Case / Java Switch on Enum does not import class Create an enum or use .class to switch between the types in java? Switch to Map/Enum or something else Using switch in Enum Switch Case statement enum not working? How to deal with default case in an enum based switch? Use switch statement to compare a string against an enum Java switch statement get to default on enum using enum inside a switch How to use enum class in switch case Java: using switch statement with enum under subclass How do I convert String to enum for at switch statement?