File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes strange loop behavior Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "strange loop behavior" Watch "strange loop behavior" New topic
Author

strange loop behavior

Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400


well i know when we left blank the condition statement of for loop is always true.
why its printing "1" in infinity loop??


SCJP6 96% | SCWCD5 81% | SCDJWS5 79%
Minhaj Mehmood
Ranch Hand

Joined: Jan 22, 2007
Posts: 400

ah i get it now, the first part of for loop is always execute once


by the way, i would like to wish happy new year to all
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: strange loop behavior
 
Similar Threads
when local machine address is not available ?
using regular expression Problem
for Loop with y++ etc...
Undefined label causing compile error
pre and postfix operator in for loop