Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Necessity of "while" loop when there is already "for" loop.

843785Aug 2 2008 — edited Aug 2 2008
Hi ,
Can you please tell me why the "while" loop is present when there is already "for" loop.
I can do all the things which "while" can do using "for".
Is "while" loop a redundant feature ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2008
Added on Aug 2 2008
4 comments
147 views