[Bluej-discuss] For Loop Doubt again....

Namit TClaw namit.tclaw at gmail.com
Wed Mar 8 12:52:10 GMT 2006


Thanks for the help with post and pre increment... But my doubt is that does
it have any special effect when placed in the update expression of for
loop...

for(int j=1;j<=5;j++)

> System.out.println(j);

> 

And

> 

> for(int j=1;j<=5;++j)

> System.out.println(j);

 

 

Regards,

Namit.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20060308/de0edb81/attachment.html


More information about the bluej-discuss mailing list