scg/ch08/Iteration

From FANG

Jump to: navigation, search

01 package scg.ch08;
02 
03 import fang2.core.Game;
04 
05 /**
06  * Iteration demonstration
07  */
08 public class Iteration
09   extends Game {
10   /**
11    * 1-10 on a single line
12    */
13   @Override
14   public void setup() {
15     for (int = 0; i != 10++i{
16       System.out.print(" " + i);
17     }
18     System.out.println();
19   }
20 }
21 
22 //Uploaded on Mon Mar 29 21:39:35 EDT 2010


Download/View scg/ch08/Iteration.java





Views
Personal tools
Add to 
del.icio.usAdd to 
diggAdd to 
FacebookAdd to 
favoritesAdd to 
GoogleAdd to 
MySpaceAdd to 
PrintAdd to 
SlashdotAdd to 
StumbleUponAdd to 
Twitter

Games
Games