Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.help Subject: Re: Java 5 and JAva 7 Date: Sat, 30 Jun 2012 15:43:26 -0700 (PDT) Organization: http://groups.google.com Lines: 60 Message-ID: <2918b4f7-b8d7-482e-b892-e24e6aa4453b@googlegroups.com> References: <8cabe5da-288a-4826-bef9-7d65279a34c1@googlegroups.com> NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1341096303 29674 127.0.0.1 (30 Jun 2012 22:45:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 30 Jun 2012 22:45:03 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Received-Bytes: 3077 Xref: csiph.com comp.lang.java.help:1913 markspace wrote: > ericmiranda7... wrote: >> Hello everyone out there. I hope this is the right group to post in. Yes, it is. >> Alright, I'm a total, Total newbie at JAva, Eclipse and the whole >> lot. I recently downloaded the book "Java for Dummies 2nd Edition", >> which is based on Java 5, and Java 7 is out, am I right? Now the >> question is, would it be okay if I continue with the 2nd Edition? Or >> is Java 7 totally different? Thank you for your help. > > > Off the top of my head, later versions of Java were much smaller > incremental changes over Java 5. So you are pretty good. > > > New features in Java 6: > > Highlighting one change that affects daily programming: '@Override' used to be illegal on methods inherited directly from an interface, being allowed only on methods that overrode a parent class definition. Since Java 6 you can and should use '@Override' on methods that implement an interface method directly. package eg; public class Example implements Runnable { @Override public void run() { } } > New features in Java 7: > > > > Java 5 is a decent starting point, with generics and the concurrency > library being introduced then. I'm trying to remember for sure, but I > think also the new memory model was introduced with Java 5, which is Yes, that's right. The Java 5 JLS, good for Java 5 and 6, is The Java Language Specification, Third Edition For Java 7 it's the "Java SE 7 Edition" > hugely important. So I think you are OK with Java 5 to start. Also a > "For Dummies" book is unlikely to go into too much detail, so I doubt > you'd run into any of the changes too soon anyway. The Java tutorials on the oracle.com site aren't a bad place to start. -- Lew