Now blogging at diego's weblog. See you over there!

subclassing enums in Java 5


[via Erik]: Beyond the basics of enumerated types: how to use more than simple enums with subclassing and method overrides. Very interesting. While my favorite Java 5 change is the enhanced for loop, generics (i.e. templates) and enums are a close second.

Categories: soft.dev
Posted by diego on May 3 2005 at 12:04 PM

Copyright © Diego Doval 2002-2011.
Powered by
Movable Type 4.37