this is a question for all the programming savvy out there....
hey you, try to answer this one......
it could be helpful to everyone viewing this site.....
here it goes.....
What does the following program print?
public class Mystery2 {
public static void main( String args[] )
{
int count = 1;
while ( count <= 10 ) {
System.out.println( count % 2 == 1 ?
"****" : "++++++++" );
++count;
}
}
}
well.......you may answer it now......
good luck to all.....
have a nice day....
jason......
2007-03-18
16:43:13
·
3 answers
·
asked by
nosaj_amazin
1
in
Computers & Internet
➔ Programming & Design