Die WHILE-Schleife

double zufall = Math.random();
 do {
     System.out.println(zufall);
     zufall = Math.random();
 } while (zufall < 0.5);
 System.out.println("Fertig");
Java