switch can only accept the following data types:

byte, short, int, long (not positive about), and char.