L'instruction while.
Syntaxe.
while (Condition)
{
//Instructions à répéter
}
Exemples.
int reponse = 0;
Scanner sc = new Scanner(System.in);
while (reponse < 100) {
System.out.println("Donnez un nombre : ");
reponse = sc.nextInt();
}
System.out.println("Terminé");





