Community

Enum: Using the Name() and toString() Methods Correctly

(Alex Theedom) With Java Enums, there are two similar, but different methods that are commonly used: name() and toString(). Learn the difference and when to use both for best results.

Read More - Register for Free Membership