Being on TV

Peter Korsten EMAIL HIDDEN
Tue Oct 9 23:33:25 CEST 2007


S?ren Knudsen schreef:

> Now, crosscompile this:
> 
> int main()
> {
>     for (int i = 0; i < 100; i++) 
>         cout << " Jay; You did a good job;)" << endl;
>     return 0;
> }

Easy:

     public class Test
     {
         public static void main( String[] args )
         {
             for( int i : new int[100] )
                 System.out.println( "Jay; You did a good job;)" );
         }
     }

Perfectly legal Java. :)

- Peter



More information about the music-bar mailing list