java1.5 contains some good features like autoboxing and generics.I am very interested to know features of java1.6,but i have not got any document in a proper manner.Can anyone tell new features in java1.6 and whether it will be fruitful if we are using it.Now eclipse has also started supporting java1.6.
As far as I know, there are no new syntax features in J6, but there are lots of new classes. You can try here to look for new features in Java6; the Java Tutorial has been updated to match Java6, but the only new bit I have noticed is about Consoles. I obviously haven't read enough to find other new bits!
If you have the opportunity, it's a good idea to upgrade to Java 6, because it's better and faster than Java 5. I am at the JavaPolis conference at this moment, and this morning James Gosling himself held the keynote presentation. He showed a graph of the performance improvements in the latest Java versions. According to his graph, Java 5 has 284% the performance of Java 1.3, and Java 6 has 344%.