This week's book giveaway is in the NodeJS forum.
We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line!
See this thread for details.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

differences b/w 1.4 & 1.5  RSS feed

 
greenhorn
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everybody ,

can anybody tell me the conceptual differences b/w j2se1.4 & j2se1.5 . i mean is there any concepts which has changed or just somthing new has been added .
like one i know is : wrapper classes ( the concepts has changed , if you will read 1.4 specific then you will make mistakes in beta ) , so is there any other topic also which has been modified in such a way that 1.4 guy can't do right .

thanks .
pooja .
 
ranger
Posts: 17344
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How has the Wrapper classes changed?

Actually one of the big things about Java 1.5 is its backwards compatibility with 1.4. Meaning you should not have to change any of your 1.4 code to compile under 1.5.

If the wrapper classes changed, then wouldn't that break the backwards compatibility?

Mark
 
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a brief overview...

http://java.sun.com/developer/technicalArticles/releases/j2se15/
 
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

wrapper classes ( the concepts has changed , if you will read 1.4 specific then you will make mistakes in beta ) ,



I think you're talking about the autoboxing/unboxing feature here, right? Chapter 14 of JLS 3.0 mentions the legal argument types for if, for, while and switch statements.

Just name a few that a 1.4 gal can't do right by ignoring the following topics for the 5.0 beta exam:
* static import
* enhanced for loop
* covariant return
* enum
* variable length argument
* generics
* autoboxing/unboxing

You really have to study the objectives of 5.0 beta exam very closely and try them out by coding.
 
rubbery bacon. crispy tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!