/**
 * @file EnumDemo.java
 * @author Valery Samovich
 * @version 1.0.0
 * @date 10/15/2014
 */

package com.valerysamovich.java.enums;

public class EnumDemo {

    public static void main(String[] args) {
    
        /**
         * The java.lang.Enum.compareTo() method compares this enum with the 
         * specified object for order.Enum constants are only comparable to 
         * other enum constants of the same enum type. 
         * 
         * public final int compareTo(E o)
         * 
         * o - This is object to be compared
         */
        
        
    }

}

@@ -130,16 +130,119 @@
 enums;%0A%0A
+/**%0A * Enum showing topics covered under Tutorials%0A */%0Aenum Tutorials %7B%0A    topic1, topic2, topic3;%0A%7D%0A%0A
 public c
@@ -668,22 +668,144 @@
    %0A        
+Tutorials t1, t2,t3;%0A        %0A        t1 = Tutorials.topic1;%0A        t2 = Tutorials.topic2;%0A        t3 = Tutorials.topic3;
 %0A    %7D%0A%0A%7D%0A

Add Enum class and create objects