A

Admin • 833.24K Points
Coach

Q. Which method causes the current thread to wait for the specified milliseconds, until the another thread notifies? (invokes notify() or notifyAll() method)?

  • (A) 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
  • Correct Answer - Option(A)
  • Views: 37
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.