Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2008, 05:30 PM
Administrator
 
Join Date: Dec 2006
Posts: 628
JavaForums has disabled reputation
Enhanced for-loop (Java 5.0)
Java 5.0 introduced an enhanced for-loop. In this post, Ill write about it.
(more…)
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-31-2008, 02:43 PM
DonCash's Avatar
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 239
DonCash will become famous soon enoughDonCash will become famous soon enough
Thanks for that. Very interesting.. I've seen this type of For loop before but didn't look into it. I actually prefere the original For loop but I guess thats just because I already know it well. I'm going to make a conscious effort to use this new structure in the future.
__________________
Did this post help you? Please
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
me!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 03-31-2008, 02:53 PM
Moderator
 
Join Date: Nov 2007
Posts: 1,657
Java Tip will become famous soon enoughJava Tip will become famous soon enough
I have the same behavior. I still dont use the new features introduced with Java 1.5.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Iterating through ArrayList - using newly introduce for loop in Java 5.0 Java Tip Java Tips 0 11-14-2007 04:22 PM
Enhanced for loop Java Tip Java Tips 0 11-03-2007 10:24 PM
Help with loop in java trill New To Java 1 08-07-2007 08:36 AM
Help, loop with java cachi New To Java 5 08-01-2007 07:03 AM
Enhanced For loop In Java goldhouse Advanced Java 1 05-06-2007 05:26 PM


All times are GMT +3. The time now is 04:45 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org