This post originated from an RSS feed registered with Java Buzz
by Kiran Kumar.
Original Post: java enums tutorial: Best 10 examples of enum in java
Feed Title: Java,Maven,Linux,Unix,Hadoop,HDFS,Hive basic tutorials,examples
Feed URL: http://www.cloudhadoop.com/feeds/posts/default
Feed Description: My Blog on Java,Maven Unix, Linux,Hadoop,MySQL,tutorial with examples
Enums in java:-Enum is one of the cool language featured introduced as part of java 5 version.
enum values are constants meaning which can not be changed. These constants are specified using upper case letters as per java coding specifications
Enum is introduced in java 5 version,Before java 5 was introduced, we have to write our own constants to handle enum functionality as follows
public class