why are you using class name ? that is not right way.It is not matter that enum is declared and defined outside or inside..this'll be correct always
Please find below the examples about enum in the SCJP Book..
Declaring an enum outside a class:
The preceding code can be part of a single file. (Remember, the file must be named
CoffeeTest1.java because that's the name of the public class in the file.) The
key point to remember is that an enum that isn't enclosed in a class can be declared
with only the public or default modifier, just like a non-inner class. Here's an
example of declaring an enum inside a class:
The key points to take away from these examples are that enums can be declared
as their own class, or enclosed in another class, and that the syntax for accessing
an enum's members depends on where the enum was declared.
I have noticed that both methods work and I guess that the book refers to some previous JDK where it was mandatory to access an enum declared inside a Class by usng the enclosing class name . I have tried in JDK 1.6 and both the approach would give the same result