Java

Moderators: zibadian
Number of threads: 7818
Number of posts: 18218

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Is Java 5 compeletly different to Java 1.4? Posted by wsdlnet on 28 Feb 2006 at 6:43 PM
Hi

i heard Java 5 is quite different to Java 1.4 versions, Is this true?

1.
At the moment i got books for Java 1.4, which is by deitel publications. and the compilor i have installed is Java 5, If i learn Java 1.4 (cus i got no books for java 5) how much of upgrade i have to do to make my self get to Java 5?

2. Is it okay to code Java 1.4 using Java 5 compilor?

cheers



Report
Re: Is Java 5 compeletly different to Java 1.4? Posted by arb123 on 1 Mar 2006 at 3:26 AM
: i heard Java 5 is quite different to Java 1.4 versions, Is this true?
:

Java 5 (aka Java 1.5) supports all the Java 1.4 features. You can use your current books to learn Java. The Java 5 features can be safely ignored until you're ready to learn them.

---------------------------------
(Its just my sig)
HOWTO ask questions: http://catb.org/~esr/faqs/smart-questions.html


Report
Re: Is Java 5 compeletly different to Java 1.4? Posted by Josh Code on 5 Mar 2006 at 2:58 PM
Java 1.5, also called Java 5 has a number of improvements over 1.4.

Not just the API has changed but the language itself.

Java now supports generics to make the language stronger typed and easier to prevent runtime problems like CastExceptions.

Java supports different kinds of for loops to iterate through collections more easily. This includes lists, arrays, sets...

There are also a lot of new classes added to the API. A few important ones are for thread synchronization. Condition and Lock can be quite useful for multithreaded software.

Those are the changes I can think of.

: Hi
:
: i heard Java 5 is quite different to Java 1.4 versions, Is this true?
:
: 1.
: At the moment i got books for Java 1.4, which is by deitel publications. and the compilor i have installed is Java 5, If i learn Java 1.4 (cus i got no books for java 5) how much of upgrade i have to do to make my self get to Java 5?
:
: 2. Is it okay to code Java 1.4 using Java 5 compilor?
:
: cheers
:
:
:
:




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.