Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 674 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 WQYiCj
Related Questions
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
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