Well Fraternity,
Your <code>
for () loop </code> is an infinite loop
as there is no way that the variable "i" can be incremented and accordingly there is no way the program being able to get terminated.
I have posted below the code which is the equivalent of your code.
Have a look.
Hope this clarifies your doubt. In
SCJP you will such traps and you must be careful in answering such questions.
Ravindra Mohan.
[This message has been edited by Ravindra Mohan (edited May 06, 2001).]