10 ways to use Enum in Java program

Enum feature added in Java 5 is a powerful and versatile feature of Java and yet underutilized. there are many advantages of using Enum like automatic serialization, Enum singleton are thread-safe and easiest way to write singleton apart from that Enum can be used as full blow Type like class in Java. some of those interesting usages of Enum are collected here.

10 ways to use Enum in Java program