This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes From Java 5 to Java 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "From Java 5 to Java 7" Watch "From Java 5 to Java 7" New topic
Author

From Java 5 to Java 7

Christos Tsagkournis
Greenhorn

Joined: Mar 21, 2012
Posts: 1

I just finished reading Head First Java and this is my first book on the subject, so I was wondering, ok, I got Java 5 down, but we're at Java 7 now, right? So what major stuff am I missing? I'm talking about stuff like the introduction of the for each loop back when there was no such thing, not performance issues or technical behind the scene stuff and such. For example, are we still getting interactive console input with that god ugly BefferedReader?
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Christos Tsagkournis wrote:For example, are we still getting interactive console input with that god ugly BefferedReader?

The Scanner class can also be used to get user input. I am not sure of it's inner implementation details.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Welcome to the Ranch.

Besides better performance and many other behind-the-scenes improvements, Java 7 has a number of new language features and some major additions to the standard library. Here is an overview.

Things that are most visible in the language were developed in "Project Coin" (try searching for that). The "NIO.2" API is a big addition to the standard library. It contains new and more powerful APIs to work with the file system.

A good book about Java 7 is The Well-Grounded Java Developer: Java 7 and Polyglot Programming on the JVM. (One of the authors, Martijn Verburg, is also a moderator on the forums here).


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
jQuery in Action, 2nd edition
 
subject: From Java 5 to Java 7
 
Similar Threads
array doubt
Java 7 Beginner's Tutorial Question for Budi
operator presedence
i++i+++;
New to Java. Just purchased kathy sierra's HEAD FIRST JAVA, 2nd edition.