Quick enum question

When comparing enum values: it's ok to use the == comparator, right?
[76 byte] By [JJCoolBa] at [2007-11-27 3:45:05]
# 1
> When comparing enum values: it's ok to use the ==> comparator, right?Correct.Kaj
kajbja at 2007-7-12 8:48:47 > top of Java-index,Java Essentials,New To Java...
# 2
Yep. That's exactly what Enum.equals() does
georgemca at 2007-7-12 8:48:47 > top of Java-index,Java Essentials,New To Java...
# 3
kk. thanks guys.
JJCoolBa at 2007-7-12 8:48:47 > top of Java-index,Java Essentials,New To Java...