Which of the following statements regarding the wait() method are correct? choose three
It is an instance method of Object class.
It is a static method of the Object class
It is an instance method of Thread class.
The Thread must have a lock on the object on which the wait() method is to be invoked
An object can have only one Thread in a waiting state at a time
It must be called in a synchronized code