JDK1.5.1 came out, it is a DEBUG version that doesn't hurt. Feel the most important revolution of JDK1.5 is Annotations, while the rest of the part, such as Generics and Concurrency and JVM Tools for some OpenSource, but there is no feeling for our starbuffs. The rest of the rest is some small changes. I also read it all over the , combined with the previous application, summarize the useful new features as follows: 0. Nnotations the most important function, I believe it is with AOP, break the traditional C / C Fanza arms. In contrast, the dynamic language simplifies the amount of code without breaking through the programming architecture. 1.autoboxing This is the only new feature that JDK1.5 makes the small citizens have a feeling of feelings, and finally there is no need to explicitly convert, but this is the meaning of the sky. 2.Generics feels like a strong type of lock to all containers, in the dynamic language like Python, the strong type does not seem to eat so sweet. The benefit of the generics is Type Safe and does not use the type conversion when it is cycled. Not good is to add type definitions to all definitions and statements, making the total code amount increase. If you use an old loop syntax, even the Iterator is declared. Alternatively, you can try to write your own generic class, which may be helpful for some Open Source Util classes, but your business class will only consider using OO. Such as public class box
{Private List