Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need topics for upgradation Java5 to Java7

 
Kasiviswanathan Selvakumar
Greenhorn
Posts: 1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a returning guy to Java. I learned Java5(SCJP5), now I like to upgrade myself to new Java7.
What are the features added to Java7 when compared to Java5?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A whole heap :-)

* try-with-resources
* Strings in switch
* multi-catch and precise rethrow
* Diamond operator
* MethodHandles and MeothTypes
* NIO.2 API
* Lots of other small changes (see Objects class for example)

HTH!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic