Current thread method to wait for the specified milliseconds - Core Java
Q. Which method causes the current thread to wait for the specified milliseconds, until the another thread notifies? (invokes notify() or notifyAll() method)?- Published on 15 Jul 15a. public final void wait(long timeout)throws InterruptedException
b. protected void finalize()throws Throwable
c. public final void wait(long timeout,int nanos)throws InterruptedException
d. protected Object clone() throws CloneNotSupportedException
ANSWER: public final void wait(long timeout)throws InterruptedException