Card 27 / 42: How can a thread own the lock of an object?
A)
When the thread executes a synchronized instance method of that object
B)
When the thread executes a synchronized statement block in the object
C)
When the thread calls wait() on this object
Answer:
A) When the thread executes a synchronized instance method of that object
B) When the thread executes a synchronized statement block in the object
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Oracle Certified Professional Java Programmer
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |