Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is an object?s lock? Give name of object?s that have
locks?

Answers were Sorted based on User's Feedback



What is an object?s lock? Give name of object?s that have locks?..

Answer / guest

An object?s lock is a mechanism that is used by multiple
threads to obtain synchronized access to the object. A
thread may execute a synchronized method of an object only
after it has acquired the object?s lock. All objects and
classes have locks. A class?s lock is acquired on the
class?s Class object.

Is This Answer Correct ?    1 Yes 1 No

What is an object?s lock? Give name of object?s that have locks?..

Answer / vijay

For Example all synchrinized objects has locks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is meant by serialization?

7 Answers  


What is primitive data type in java?

0 Answers  


Does java map allow duplicates?

0 Answers  


What is skeleton and stub?

0 Answers  


What is your platform?s default character encoding and how to know this?

0 Answers   TCS,


Describe different states of a thread.

0 Answers  


What are the differences between processes and threads?

0 Answers  


What is the difference between stored procedure & function?

0 Answers  


Can an abstract class be final?

10 Answers  


What is a java predicate?

0 Answers  


What class of exceptions are generated by the java run-time system?

0 Answers  


Which is better arraylist or vector?

0 Answers  


Categories