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
Sep 28 2019

Sivaraman Dhamodaran

This video shows how you can create while and do..while loops and how to use them in an OOP language like Java.