The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java 5 feature articles

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ben Hosking

Posts: 208
Nickname: hoskinator
Registered: Apr, 2006

Ben Hosking is Java Developer with about 5 years experience and interest in OO
Java 5 feature articles Posted: May 14, 2006 1:41 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Ben Hosking.
Original Post: Java 5 feature articles
Feed Title: A Funny Java Flavoured Look at the World
Feed URL: http://businesslogs.com/WebLog/RSS.xml
Feed Description: The blog looks at using Java and programming in general as it pops up in life as a Java programmer. It will have links to interesting Java articles and resources. It will also have a lot of SCJP Java 1.5 information and links as I am currently studying
Latest Java Buzz Posts
Latest Java Buzz Posts by Ben Hosking
Latest Posts From A Funny Java Flavoured Look at the World

Advertisement

I found two articles summarising the new features in Java 1.5. This is decent document and it briefly explains what they all are and what they do. It's a very good introduction to the Java 5 features and are probably useful for people who are just about to start learning for their SCJP 5 Exam (CX-310-055) This list of the topics is of the information in the articles

Enhanced for loop
Annotations
Static imports
Variable-length arguments
Enums
Generics
Autoboxing

With the exception of Generics all the new features make programming in Java easier and I think there are some really good features. You wonder why they didn't add them in before.

I really like the Enhanced for Loop, it makes looping through collections much easier and for most scenarios brings about the death of the iterator.

Static imports are a bit of a weird one, I don't think I have ever really written a class where I used a lot of Static classes, to the extent I wished I could import a class to save me typing its name. I actually think its a bit confusing for people looking at code with static imports because it's not obvious you are calling a method on a static class. I'm not a big fan of this one.

Variable-Length arguments (var args) I like this, the ability to have a number of variables of the same type.

http://www.theserverside.com/blogs/showblog.tss?id=JDK5Practice

The second article is written by Joshua Bloch and Neal Gafter
http://www.theserverside.com/blogs/showblog.tss?id=JDK15

I think the first article was written by Cedric Beust and Cedric is the creator
of TestNG, which is something on my to look at list

 

 

Read: Java 5 feature articles

Topic: [May 4, 2006 09:39 PDT] 4 Links Previous Topic   Next Topic Topic: [May 4, 2006 08:53 PDT] 10 Links

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use