array is an object, you should iterate it to retrieve the objects/primitive in it. This is same as,
Enum values() method returns an array of Enum constants. So, other than printing the array directly, you should iterate within the array. And further as said by pete stein, you should override the toString() method of the Enum, other wise, you will get the same as you got for printing the array.
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|