Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there anything which can be accomplished using Java 7 but not in earlier versions?

 
Monica Shiralkar
Ranch Hand
Posts: 825
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that there are features which are in java 7 but not in java 6 but my question is Is there anything which can be accomplished using Java 7 but not in earlier versions?

thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In terms of the language, no. Even Java 1.0 was Turing-complete, and Java 7 adds nothing to that.

In terms of the API, it's likely that Java 7 (and some other versions in between since Java 1.0) added APIs for doing things that otherwise you would had to resort to native code to accomplish. Or for which you would have had to write your own code, of course. For example, at some point an XML parser was added - but you don't strictly speaking need one, since you can write one yourself using the base language without using any API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic