Notices

Water Fountain General Chit/Chat

Reply
 
LinkBack Thread Tools
Old 09-21-05, 08:29 PM   #16 (permalink)
JonMisurda
Guest
 
Posts: n/a
An iteration is defined as once through the body of the loop. Since the condition fails on the 7th comparison, it really goes through 6 iterations and terminates before the 7th. So I'd say 6 is the best answer here.

Glad I could help.

Jon
  Reply With Quote
Sponsor Ads
Old 09-21-05, 09:51 PM   #17 (permalink)
Aximsite Veteran
 
goodguy20k's Avatar
Uber Member
 
Join Date: Mar 2003
Location: Austin, TX
Posts: 1,127
Device: Motorola V330
Carrier: T-Mobile
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Active Bronze Member Aximsite Contest Winner Red Cross 
Total Awards: 3

I just picked up a java book today to set off on the happy coffee trail, and saw this post. From other languages, I knew the answer! Cool! Looks like everyone helped you out already, though.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
goodguy20k is offline   Reply With Quote
Reply

Tags
java

Sponsor Ads

Thread Tools

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

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



All times are GMT -5. The time now is 05:22 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC