Win a copy of Learning Regular Expressions this week in the General Computing 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

differences b/w 1.4 & 1.5  RSS feed

 
greenhorn
Ranch Hand
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
Sheriff
Posts: 17314
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!