Hi all,
I have some questions regarding to enums, please shed some light
1) In the API document, the java.lang.Enum was declared as Class Enum<E extends Enum<E>>, but isn't it a recursive declaration? what does it mean then? "The type parameter should be a type extends Enum<E> in which E is itself?" -- just too complicated for me.
2) Where is the static values() method declared? I didn't find it in the Enum class, however.
Thanks
(
SCJP 5 prefix added to topic title)
[ January 12, 2005: Message edited by: Barry Gaunt ]