Link Details

Link 875935 thumbnail
User 831875 avatar

By semikas
Published: Nov 09 2012 / 08:48

Why "for" loop is better than "while" loop in Java
  • 6
  • 10
  • 758
  • 1131


Add your comment
User 405399 avatar

saifuddin.merchant replied ago:

0 votes Vote down Vote up Reply

aahh well its isn't so bad. Most people I know prefer for loops to do while loops anyways. While loops are pretty much out of use .. specially if you are using java-5 with the enhanced for-loop construct...

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java