Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

enum to string java

    String name = Modes.mode1.name(); // Returns the name of this enum constant, exactly as declared in its enum declaration.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enum #string #java
ADD COMMENT
Topic
Name
7+3 =