Hi guys,
probably one of you may answer me a question.
I'm reading:
http://jcp.org/aboutJava/communityprocess/jsr/tiger/enum.html There you may read, that enum declarations may NOT use the class modifier abstract, unless they contain constant specific class bodies for every enum constant......
In my opinion I have implemented exactly that:
===> Well, if you try to compile this enum, it works. No problem at all.
BUT: try to declare the enum Place as abstract (since it contains an abstract method) and you'll get a compiler error (...at least within my Netbeans 4.0).
I'm still wondering...; well, let's try the plain javac .....we will see
regards
marco
[ February 05, 2005: Message edited by: Jim Yingst ]