Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Enum valueOf()

Size.valueOf("SMALL")
// returns constant SMALL.
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #Java #Enum
ADD COMMENT
Topic
Name
8+1 =