Invoking wait(), notify and notifyAll() methods without acquiring lock over an object will lead to:

  1. IllegalMonitorStateException

  2. IllegalThreadStateException

  3. IllegalLockStateException

  4. InvalidLockException


Correct Option: A

Find more quizzes: