Explain what the JVM does when it encounters a synchronized directive. Hint: consider carefully what is synchronized. What conditions must exist before calling the wait() method on an object? What happens when the JVM encounters a wait() call? How can another thread wakeup a waiting thread?
Get Free Quote!
380 Experts Online