Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 691 Page Views: 

What is an object's lock?



Posted By: Avi Date: 9 November 2010 12:12:50 AM
 Answer:

An object's lock obtains synchronized access to the object by multiple threads.


Posted By: avibtech


Date: 9 November 2010 12:12:50 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image Q5Q8oK
Related Questions
Core Java : What are the restrictions placed on overloading a method ?

What are the restrictions placed on overloading a method ?

Overloading methods must differ in their parameter list, or number of parameters.
Category: Core Java Date: 11/5/2010 12:59:49 AM
Core Java : Which package is always imported by default?

Which package is always imported by default?

The java.lang package is always imported by default.
Category: Core Java Date: 11/5/2010 12:47:55 AM
Core Java : If a class is declared without any access modifiers, where may the class be accessed?

If a class is declared without any access modifiers, where may the class be accessed?

A class that is declared without any access modifiers is said to have package access. This means tha....
Category: Core Java Date: 11/5/2010 12:15:53 AM
Core Java : What is a Java package and how is it used?

What is a Java package and how is it used?

A Java package is a naming context for classes and interfaces. A package is used to create a separat....
Category: Core Java Date: 11/4/2010 9:52:55 PM
Core Java : Why do threads block on I/O?

Why do threads block on I/O?

To other threads may execute while the i/o operation is performed
Category: Core Java Date: 11/4/2010 9:31:49 PM