📅  最后修改于: 2022-03-11 14:52:10.942000             🧑  作者: Mango
代码示例2
String name = Modes.mode1.name(); // Returns the name of this enum constant, exactly as declared in its enum declaration.