Delete comment from: Java67
Good article, but I always confuse between name() and toString() method for converting Enum to String. Since toString() is an standard way of converting any object into String in Java, I think to prefer that over name(), but same time, isn't it making consistent with Enum constant has some value?
Jul 15, 2013, 4:19:46 AM
Posted to How to convert Enum to String in Java with Example