Causes the current thread to wait until either another thread invokes the notify() method or the notifyAll() method for this object, or a specified amount of time has elapsed.
Java
Topic: Java.lang.object
Explain method wait(long timeout) in java?
Browse random answers:
Explain the method clone() in java?
Explain method equals(Object obj) in java?
Explain method finalize() in java?
What is the use of getClass() ?
Explain method hashCode() in java ?
Explain method notify() in java?
Explain method notifyAll() in java?
Explain method toString() in java?
Explain method wait() in java?
Explain method wait(long timeout) in java?
Explain method wait(long timeout, int nanos) in java?