Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 676 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 O3wpck
Related Questions
Core Java : Can we create an abstract class with no abstract methods in it?

Can we create an abstract class with no abstract methods in it?

Yes, we can create an abstract class without abstract methods.
Category: Core Java Date: 11/9/2009 6:20:54 AM
Core Java : What is the difference between "while" and "do while" statements in Java?

What is the difference between "while" and "do while" statements in Java?

"while" statement checks the condition at the beginning of a loop to see whether the next ....
Category: Core Java Date: 11/9/2009 6:16:44 AM
Core Java : Expain each keyword of public static void main(String args[])?

Expain each keyword of public static void main(String args[])?

public: main() is the first method called by java environment when a program is executed so it has t....
Category: Core Java Date: 11/9/2009 6:12:58 AM
Core Java : What gives java it's "write once and run anywhere" nature?

What gives java it's "write once and run anywhere" nature?

All Java programs are compiled into class files that contain bytecodes. These byte codes can be run ....
Category: Core Java Date: 11/9/2009 6:09:51 AM
Core Java : What method must be implemented by all threads?

What method must be implemented by all threads?

All threads must implement the run() method, whether they are a inherite from Thread class or implem....
Category: Core Java Date: 10/30/2009 5:10:31 AM