Home » Interview » Technology

void waitForSignal() { Object obj = new Object(); synchronized (Thread.currentThread()) { obj.wait(); obj.notify(); } } Which statement is true?

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!