A Admin • 828.43K Points Coach Q. What happens if `wait()` is called outside a synchronized context? (A) It works normally (B) Thread is paused (C) IllegalMonitorStateException is thrown (D) Thread becomes daemon Correct Answer - Option(C) Views: 7 Filed under category Java Hashtags: Java Multithreading Share Manage Tags
Discusssion
Login to discuss.