java while

Java
while(i < 5) //while i < 5 stay in the loop
{
  System.out.print(i);
  i++;
}
/*
	do someting
	change variable
    call methods
    etc...
*/while (condition) {
  // code block to be executed
}do {
	// loop content
} while (/* condition */);
Source

Also in Java: