Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 697 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 imOXW7
Related Questions
Core Java : What is the difference between Exception and Error ?

What is the difference between Exception and Error ?

Exception is recoverable and the Error is unrecoverable.
Category: Core Java Date: 11/9/2010 7:06:52 AM
Core Java : When is the finally clause of a try-catch-finally statement executed?

When is the finally clause of a try-catch-finally statement executed?

Unless the thread of execution terminates or an exception occurs within the execution of the finally....
Category: Core Java Date: 11/9/2010 6:02:49 AM
Core Java : What is the purpose of the enableEvents() method?

What is the purpose of the enableEvents() method?

The enableEvents() method is used to enable an event for a particular object. Normally, an event is ....
Category: Core Java Date: 11/9/2010 5:50:54 AM
Core Java : What is the difference between the Reader/Writer class hierarchy and the  InputStream/OutputStream class hierarchy?

What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream c....

The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hier....
Category: Core Java Date: 11/9/2010 5:29:48 AM
Core Java : What value does read() return when it has reached the end of a file?

What value does read() return when it has reached the end of a file?

The read() method returns -1 when it has reached the end of a file.
Category: Core Java Date: 11/9/2010 5:17:53 AM