Tuesday, March 10, 2009

Can a for statement loop indefinitely? (CoreJava)

Question :Can a for statement loop indefinitely? (CoreJava)
Answer :Yes, a for statement can loop indefinitely. For example, consider the
following: for(;;) ;

No comments: