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


Groups > comp.lang.java.help > #1910 > unrolled thread

Java 5 and JAva 7

Started byericmiranda7@gmail.com
First post2012-06-30 09:15 -0700
Last post2012-06-30 22:34 -0700
Articles 6 — 5 participants

Back to article view | Back to comp.lang.java.help


Contents

  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

#1910 — Java 5 and JAva 7

Fromericmiranda7@gmail.com
Date2012-06-30 09:15 -0700
SubjectJava 5 and JAva 7
Message-ID<8cabe5da-288a-4826-bef9-7d65279a34c1@googlegroups.com>
Hello everyone out there. I hope this is the right group to post in. 
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.

[toc] | [next] | [standalone]


#1911

FromJeff Higgins <jeff@invalid.invalid>
Date2012-06-30 12:35 -0400
Message-ID<jsn9qb$vhh$1@dont-email.me>
In reply to#1910
On 06/30/2012 12:15 PM, ericmiranda7@gmail.com wrote:
> Hello everyone out there. I hope this is the right group to post in.
> 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.
<http://www.oracle.com/technetwork/topics/newtojava/overview/index.html>

[toc] | [prev] | [next] | [standalone]


#1912

Frommarkspace <-@.>
Date2012-06-30 10:03 -0700
Message-ID<jsnbh3$9si$1@dont-email.me>
In reply to#1910
On 6/30/2012 9:15 AM, ericmiranda7@gmail.com wrote:
> Hello everyone out there. I hope this is the right group to post in.
> 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>

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 
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.

[toc] | [prev] | [next] | [standalone]


#1913

FromLew <lewbloch@gmail.com>
Date2012-06-30 15:43 -0700
Message-ID<2918b4f7-b8d7-482e-b892-e24e6aa4453b@googlegroups.com>
In reply to#1912
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

[toc] | [prev] | [next] | [standalone]


#1914

FromRoedy Green <see_website@mindprod.com.invalid>
Date2012-06-30 20:50 -0700
Message-ID<87ivu7567ci06gfcso1l8nbcmkio56u6o5@4ax.com>
In reply to#1910
On Sat, 30 Jun 2012 09:15:53 -0700 (PDT), ericmiranda7@gmail.com
wrote, quoted or indirectly quoted someone who said :

>Hello everyone out there. I hope this is the right group to post in. 
>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.

see http://mindprod.com/jgloss/gettingstarted.html

Everything it teaches you about Java 5 is still true. It is just that
Java 7 has some new features.  see
http://mindprod.com/jgloss/java7.html
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
Why do so many operating systems refuse to define a standard 
temporary file marking mechanism? It could be a reserved lead character
such as the ~ or a reserved extension such as .tmp.
It could be a file attribute bit. Because they refuse, there is no 
fool-proof way to scan a disk for orphaned temporary files and delete them. 
Further, you can't tell where the orhaned files ame from. 
This means the hard disks gradually fill up with garbage.

[toc] | [prev] | [next] | [standalone]


#1915

Fromericmiranda7@gmail.com
Date2012-06-30 22:34 -0700
Message-ID<89ecb57a-f827-4eac-99ae-000c027403d6@googlegroups.com>
In reply to#1914
Thanks alot, Jeff, Lew, Markspace and Roedy. I'll continue reading the book.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.help


csiph-web