aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes why Enum introduced in 5 called Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "why Enum introduced in 5 called "Typesafe Enum" ?" Watch "why Enum introduced in 5 called "Typesafe Enum" ?" New topic
Author

why Enum introduced in 5 called "Typesafe Enum" ?

Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 253

Any thoughts why Enum introduced in 5 called "Typesafe Enum" ?
what type of type safty issue does it resolve?


Regards
Salil Verma
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39534
    
  27
Read Beware of Java typesafe enumerations and More on typesafe enums to understand the problem Enum solves.


Ping & DNS - updated with new look and Ping home screen widget
Ninad Kulkarni
Ranch Hand

Joined: Aug 31, 2007
Posts: 784

@ Ulf
Both links are very helpful


SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why Enum introduced in 5 called "Typesafe Enum" ?
 
Similar Threads
Significant difference between if:loop and loop:if?
Why does the month start at 0, and not at 1?
BJO - The new Java 5 enum vs. the Type Safe Enum pattern
Enumerations
Enum , providing getInstance() method