• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

What is the difference between Java 1 and Java 2

mhan80

Member
I have this Java 1 book but is it outdated. Is Java 2 that much advanced. If i learn Java 1 can I learn Java 2. Is the syntax the same and the structure and is Java 2 just more classes
 
As far as I know, Java 2 is more classes, plus a better way of creating GUI type interfaces (so perhaps the GUI part of java 1 will be outdated if you learn that), but otherwise the programming language is still at core the same AFAIK
 
In Java 2(JDK 1.2), Sun starting using the Swing classes as their primary GUI source. Other than that, the real difference is the methods that are deprecated. There are a lot of methods that you can use in Java 1 that will create deprecation warnings when you run them in Java 2. For example, the Thread.stop() method is deprecated and not used anymore in Java 2. It is better to be up to date with the methods so that you avoid using these deprecated methods.
 
Back
Top