Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Advocacy > Re: referencing...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 2362 of 2478
Post > Topic >>

Re: referencing Java enums in other cl*****???

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
 




 3 Posts in Topic:
referencing Java enums in other classes???
KKriwet@[EMAIL PROTECTED]  2008-03-14 05:46:10 
Re: referencing Java enums in other classes???
Roedy Green <see_websi  2008-03-15 03:49:49 
Re: referencing Java enums in other classes???
Roedy Green <see_websi  2008-03-15 03:51:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 1:33:44 CST 2008.