What is an object?s lock? Give name of object?s that have
locks?
Answers were Sorted based on User's Feedback
Answer / 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 |
What are different types of encoding?
What are the performance implications of interfaces over abstract classes?
What is the difference between static method and instance method in Java?
0 Answers SwanSoft Technologies,
Differentiate storage classes on the basis of their scope?
Is hashset ordered?
What is a copy constructor in java?
Differentiate between == and equals().
How do you set security in applets?
How to make a non daemon thread as daemon?
What are pass by reference and pass by value?
What is finalize()? Is finalize() similar to a destructor?
Explain the features of interfaces in java?