by Roedy Green <see_website@[EMAIL PROTECTED]
>
Mar 15, 2008 at 03:49 AM
On Fri, 14 Mar 2008 05:46:10 -0700 (PDT), KKriwet@[EMAIL PROTECTED]
wrote,
quoted or indirectly quoted someone who said :
>public enum TrafficLight {
> Green(0); Yellow (1); Red (2)
>}
Enums automatically number themselves.
See http://mindprod.com/jgloss/enum.html
and scan for the string "ordinal".
This question won't get many answers since it is in the wrong
newsgroup.
Try reposting in comp.lang.java.help
see http://mindprod.com/jgloss/newsgroups.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com