Link Details

Link 103495 thumbnail
User 185351 avatar

By jsugrue
via java.dzone.com
Published: Aug 14 2008 / 05:21

In Java 5, as all good Java developers will know, Sun introduced the enum type. Since I’m sure anyone who is interested in what will follow knows that already, I won’t bore you with the details but there’s some decent historical information on Sun’s reasons available. I’m going to be talking a little bit about operations on enums, so let’s get started by defining one:
  • 26
  • 0
  • 1949
  • 665

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.