Wednesday, May 24, 2006

while (false) cannot be written

while (false) {}

The above code will never compile. It will throw an compiler exception that code cannot be reached.

0 Comments:

Post a Comment

<< Home