Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 802 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 9cTMkd
Related Questions
Core Java : What is hashCode?

What is hashCode?

The hashcode of a Java Object is simply a number (32-bit signed int) that allows an object to be man....
Category: Core Java Date: 11/8/2010 3:51:50 AM
Core Java : What is the difference between a public and a non-public class?

What is the difference between a public and a non-public class?

A public class may be accessed outside of its package. A non-public class may not be accessed outsid....
Category: Core Java Date: 11/8/2010 3:40:55 AM
Core Java : Can an abstract class be final?

Can an abstract class be final?

No.
Category: Core Java Date: 11/8/2010 3:19:49 AM
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