Programming Languages
Java
Mcq
Sep 24, 2025
What happens when you call wait() method without synchronization?
Detailed Explanation
IllegalMonitorStateException is thrown because wait() must be called from synchronized context (the thread must own the monitor).
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts