• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

C++ Type Enum

 
Rick Gentry
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Java have anything like the C++ enum besides making a struct array?
 
Joe Pluta
Ranch Hand
Posts: 1376
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java 1.5, due for release later this year, is going to have a number of new features, including typesafe enums. Generic collections are another big enhancement. For more information, you can start here.
Joe
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And until that, take a look at http://developer.java.sun.com/developer/Books/shiftintojava/page1.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic