-교재 : 119쪽 : 정수 타입(byte char short int long) + 자바7부터 String 가능. ???? Enum 은 도대체 뭐야 시불?

<Web>

-**https://www.javatpoint.com/java-switch**

The Java switch statement  executes one statement from multiple conditions. It is like if-else-if ladder statement. The switch statement works with byte, short, int, long, enum types, String and some wrapper types like Byte, Short, Int, and Long. Since Java 7, you can use strings in the switch statement.

-https://docs.oracle.com/javase/tutorial/java/nutsandbolts/switch.html

Unlike if-thenand if-then-elsestatements, the switchstatement can have a number of possible execution paths. A switchworks with the byteshortchar, and int primitive data types. It also works with enumerated types (discussed in Enum Types), the String class, and a few special classes that wrap certain primitive types: CharacterByteShort, and Integer (discussed in Numbers and Strings).

-https://www.geeksforgeeks.org/switch-statement-in-java/

Java switch expression must be of byte, short, int, long(with its Wrapper type), enums and string. Beginning with JDK7, it also works with enumerated types (Enums in java), the String class, and Wrapper classes.