What is an object?s lock? Give name of object?s that have
locks?
Answer Posted / guest
An object?s lock is a mechanism that is used by multiple
threads to obtain synchronized access to the object. A
thread may execute a synchronized method of an object only
after it has acquired the object?s lock. All objects and
classes have locks. A class?s lock is acquired on the
class?s Class object.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How many types of equations are there?
Can final class have constructor?
Is char a method in java?
Where are the card layouts used?
Explain Basics of OOP Language in java
What are the features of junit?
Can size_t be negative?
What is ctrl m character?
What is a ternary operator in java? What is an interface?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
List out benefits of object oriented programming language?
What is meant by attribute?
Can a static member function access member variable of an object?
What does flag mean in java?
what is synchronization? : Java thread