Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1913
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Java 5 and JAva 7 |
| Date | 2012-06-30 15:43 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <2918b4f7-b8d7-482e-b892-e24e6aa4453b@googlegroups.com> (permalink) |
| References | <8cabe5da-288a-4826-bef9-7d65279a34c1@googlegroups.com> <jsnbh3$9si$1@dont-email.me> |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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