Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 931 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 pnX8Tn
Related Questions
Core Java : How many times may the garbage collector invoke an object's finalize() method ?

How many times may the garbage collector invoke an object's finalize() method ?

An object's finalize() method may only be invoked once.
Category: Core Java Date: 11/9/2010 8:23:48 AM
Core Java : Which class is the immediate superclass of the Container class?

Which class is the immediate superclass of the Container class?

Component
Category: Core Java Date: 11/9/2010 8:11:53 AM
Core Java : How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?

How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?

Unicode requires 16 bits and ASCII require 7 bits, UTF-8 represents characters using 8, 16, and 18 b....
Category: Core Java Date: 11/9/2010 7:50:48 AM
Core Java : What is encapsulation?

What is encapsulation?

Encapsulation describes the ability of an object to hide its data and methods from the rest of the w....
Category: Core Java Date: 11/9/2010 7:39:52 AM
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