Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1913

Re: Java 5 and JAva 7

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 <lewbloch@gmail.com>
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> (permalink)
References <8cabe5da-288a-4826-bef9-7d65279a34c1@googlegroups.com> <jsnbh3$9si$1@dont-email.me>
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 <jsnbh3$9si$1@dont-email.me>
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

Show key headers only | View raw


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:
> 
> <http://www.oracle.com/technetwork/java/javase/features-141434.html>

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:
> 
> <http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html>
> 
> 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 
<http://docs.oracle.com/javase/specs/jls/se5.0/html/j3TOC.html>

For Java 7 it's the "Java SE 7 Edition"
<http://docs.oracle.com/javase/specs/jls/se7/html/index.html>

> 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

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Java 5 and JAva 7 ericmiranda7@gmail.com - 2012-06-30 09:15 -0700
  Re: Java 5 and JAva 7 Jeff Higgins <jeff@invalid.invalid> - 2012-06-30 12:35 -0400
  Re: Java 5 and JAva 7 markspace <-@.> - 2012-06-30 10:03 -0700
    Re: Java 5 and JAva 7 Lew <lewbloch@gmail.com> - 2012-06-30 15:43 -0700
  Re: Java 5 and JAva 7 Roedy Green <see_website@mindprod.com.invalid> - 2012-06-30 20:50 -0700
    Re: Java 5 and JAva 7 ericmiranda7@gmail.com - 2012-06-30 22:34 -0700

csiph-web