Which of the following statements regarding the wait() method are correct? choose three

  1. It is an instance method of Object class.

  2. It is a static method of the Object class

  3. It is an instance method of Thread class.

  4. The Thread must have a lock on the object on which the wait() method is to be invoked

  5. An object can have only one Thread in a waiting state at a time

  6. It must be called in a synchronized code


Correct Option: A,D,F

Find more quizzes: