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 thread count in java?
Is java type safe?
Describe the syntax of multiple inheritance? When do we use such an inheritance?
Which graphs are functions?
Are nested try statements are possible?
Difference between string s= new string (); and string s = "abv";?
How do you escape json?
What is the difference between Checked and Unchecked exception? Give some examples
Can we write method inside a method in java?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
What are 3 boolean operators?
what is tempplate pattern