Delay

1 resposta
F
Olá!


Como faço para dar uma pausa de 1 segundo no seguinte trecho de código:





for (int i = 0 ; i <= 200; i++){


// Pausa


System.out.println("Java");


}





Valew

1 Resposta

S
try {


   thread(1000);


}


catch(Exception e) {}





Responda me se funcionou?
Criado 3 de junho de 2003
Ultima resposta 11 de jun. de 2003
Respostas 1
Participantes 2