JDK 1.5 features


Simon posted a short summary of the most important additions to JDK 1.5. Of those, Generics, (ie., templates) Autoboxing (automatic conversion of primitive types to and from their reference type equivalent) and Type-safe Enumerations are the most useful, and will IMO vastly improve the readability and development of Java code. The enhanced for-loop, a simple way of iterating through collections, is slightly confusing I think (as it always happens when you "overload" keywords in this way), but useful nonetheless.

Categories: technology
Posted by diego on February 7 2003 at 8:46 AM
Comments (please see the comments & trackback policy).

Hadn't seen this...very like C# stuff. I like the type safety of generics but the T syntax makes Java look so much like C++!!...puts STL shivers up my spine! Funny - I thought J-People didn't like things like templates!

Posted by: Philip at February 7, 2003 11:02 PM

Copyright © Diego Doval 2002-2007.
Powered by
Movable Type 3.35