International Biometric
2.8 of 5 9 reviews
www.biometricgroup.com New York, NY 50 to 149 Employees

International Biometric Consultant Interview Question (student candidate)

I interviewed in New York, NY and was asked:
"What's the difference between the methods sleep() and wait()?"
Add Tags [?]
Answer Flag Question

Part of a Consultant Interview Review - one of 2 International Biometric Interview Reviews

Answers & Comments

0
of 0
votes
The code sleep(1000); puts thread aside for exactly one second. The code wait(1000), causes a wait of up to one second. A thread could stop waiting earlier if it receives the notify() or notifyAll() call. The method wait() is defined in the class Object and the method sleep() is defined in the class Thread.
- Interview Candidate on Feb 16, 2010 Flag Response

To comment on this question, Sign In with Facebook or Sign Up


Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at International Biometric interview questions and advice. All interview reviews posted anonymously by International Biometric employees and interview candidates.