Pergunta de entrevista da empresa Axeda

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

Respostas da entrevista

Sigiloso

9 de jun. de 2011

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

1

Sigiloso

1 de set. de 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?!