Parameter types accepted by switch:
byte;short;int;char; and the corresponding wrapper class Byte;Short;Integer;Character
String; enumeration class
A total of ten types
Parameter types accepted by switch:
byte;short;int;char; and the corresponding wrapper class Byte;Short;Integer;Character
String; enumeration class
A total of ten types