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 |
if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.
system.out.println(1 + 3);
What will happen if static modifier is removed from the signature of the main method?
Do I need java on my pc?
What is the difference between a constructor and a method?
What are concepts of OOPS and how are they implemented in Java?
How to compare strings in java?
why pointer is not used in java?
What is the difference between sop and work instruction?
What is hashset in java?
Can extern variables be initialized?
What is the use of put method?