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 is meant by serialization?
What is primitive data type in java?
Does java map allow duplicates?
What is skeleton and stub?
What is your platform?s default character encoding and how to know this?
Describe different states of a thread.
What are the differences between processes and threads?
What is the difference between stored procedure & function?
Can an abstract class be final?
What is a java predicate?
What class of exceptions are generated by the java run-time system?
Which is better arraylist or vector?