Question d’entretien chez Axeda

What's the difference between wait() and sleep()?

Réponses aux questions d'entretien

Utilisateur anonyme

9 juin 2011

I guess...he must be referring to the Sleep and Wait commands in ..Multithreading ..in Java.

1

Utilisateur anonyme

1 sept. 2010

Well, everyone knows that... Sleep is when you are in your bed, laying with closed eyes in the middle of the night. On the other hand, wait is when you are staying in the rain, with the stupid bouquet of flowers and it is past 3:30 already and no one is comming. What kind of question is that?!