enum para caducar java
String name = Modes.mode1.name(); // Returns the name of this enum constant, exactly as declared in its enum declaration.
SharxNZ
String name = Modes.mode1.name(); // Returns the name of this enum constant, exactly as declared in its enum declaration.
SMALL.toString()
// returns "SMALL"