Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 709 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 0XvoS6
Related Questions
Core Java : What is the disadvantage of garbage collection?

What is the disadvantage of garbage collection?

It adds an overhead that can affect performance and there is no guarantee that the object will be ga....
Category: Core Java Date: 11/8/2010 12:56:51 AM
Core Java : What modifiers may be used with a top-level class?

What modifiers may be used with a top-level class?

A top-level class may be public, abstract, or final.
Category: Core Java Date: 11/8/2010 12:12:55 AM
Core Java : What is the Runtime class?

What is the Runtime class?

The Runtime class is a class which provide access to the Java runtime system
Category: Core Java Date: 11/7/2010 11:52:48 PM
Core Java : If a method is declared as protected, where may the method be accessed?

If a method is declared as protected, where may the method be accessed?

A protected method may only be accessed by classes or interfaces of the same package or by subclasse....
Category: Core Java Date: 11/7/2010 11:40:54 PM
Core Java : How are Observer and Observable used?

How are Observer and Observable used?

Objects that subclass the Observable class maintain a list of observers. When an Observable object i....
Category: Core Java Date: 11/7/2010 11:08:52 PM