Java

Fermé
youkc - 15 mars 2011 à 22:43
 moxa - 15 mars 2011 à 23:34
Bonjour, je veux marquer une pause de 2 secondes entre deux instruction;
c'est a dire:

instruction 1
pause
instruction2


merci d'avance!



A voir également:

1 réponse

Bonsoir,

La javadoc est ton ami ;).

http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Thread.html

Thread.sleep
0