While loop is slightly different from the For loop. It does not have initializer and iterator expression. It will only have the condition and the loop body. In do..while loop, the condition is evaluated at the end of the loop body. This means the body is executed at least once. This video explains both - While loop and Do...While loop in Java.

While and do..while Loop In Java

5y
6k
500
  • 1
Sivaraman Dhamodaran is a Software Engineer. He has over 15 years of experience in IT Industries. He had come across Vc++ & MFC Frame Work, Dot.Net technologies, Oracle and SQL Server. He mostly worked on Desktop database applications, GSM Compatible Modems, Biometric devices, and Graphics technologies.