Hi Sumanth,
Your <code>while()</code> is not doing anything
Change the code to:
And it will work as you excpect; nothing will be printed.
Hope that helps.
Please read the
Javaranch Name policy and re-register using a name that complies with the rules.
Thanks for your cooperation.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
[This message has been edited by Jane Griscti (edited March 18, 2001).]