One of the coolest features of Java 1.5 was addition of AutoBoxing and AutoUnboxing. Primitives and Boxed Primitives can be interchanged without using new().
Read this post on idlebrains.org