Forums Register Login

about enum

+Pie Number of slices to send: Send
Can anyone please explain me why enum is introduced in java2 ? what are the advantages ?
Thanks in advance for those who reply ...

Ashish
+Pie Number of slices to send: Send
You'll find the main advantages here :
http://jcp.org/aboutJava/communityprocess/jsr/tiger/enum.html
Today's lesson is that you can't wear a jetpack AND a cape. I should have read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 790 times.
Similar Threads
what results byte code in java
Enum Problem
How to define constants for several classes?
Creating SingleTON without static variables
retrieve enumeration datatype into jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 20:38:47.