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
What does java edition mean?
Can we inherit a class with private constructor?
Which java version is latest?
What is an abstract method in java programming?
Can we write multiple catch blocks under single try block?
Can private members of a base class are inheritable justify?
What is a vararg?
what is function overloading in java?
What is the transient keyword?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
How many bits is a double?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is arrays fill in java?
Can we define package statement after import statement in java?
How do you compare arrays in java?