Java

Topic: Java.lang.object

Explain method wait(long timeout)  in java?

  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.

Browse random answers: