This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Version Difference

 
Robin Ranga
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between java1.4 and java1.5
 
Campbell Ritchie
Marshal
Posts: 53105
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A few from memory:-
  • About 600 new classes in the API; the two most likely to appeal to beginners are java.util.Scanner and java.util.Formatter.
  • Autoboxing
  • The foreach loop (for String s : stringArray), maybe emulating C#
  • static import
  • using the add() method in JFrame rather than getContentPane().add() and by far the most important
  • Generics.
  •  
    marc weber
    Sheriff
    Posts: 11343
    Java Mac Safari
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    See J2SE 5.0 in a Nutshell.
     
    Jim Yingst
    Wanderer
    Sheriff
    Posts: 18671
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    [Robin]: What is the difference between java1.4 and java1.5[?

    Ummm... java0.1?

    Clearly, you would be better off just following marc's link and ignoring me...
    [ June 03, 2006: Message edited by: Jim Yingst ]
     
    Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
    the new thread boost feature: great for the advertiser and smooth for the coderanch user
    https://coderanch.com/t/674455/Thread-Boost-feature
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!