123456789101112131415



Question 1: Which one statement is true?
1. It is possible to synchronize static methods.
2. When a thread has yielded as a result of yield(), it releases its locks.
3. When a thread is sleeping as a result of sleep(), it releases its locks.
4. The Thread.sleep() method can be invoked only from a synchronized context.