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 are different types of encoding?

0 Answers  


What are the performance implications of interfaces over abstract classes?

1 Answers  


What is the difference between static method and instance method in Java?

0 Answers   SwanSoft Technologies,


Differentiate storage classes on the basis of their scope?

0 Answers   Fidelity,


Is hashset ordered?

0 Answers  


What is a copy constructor in java?

0 Answers   Amazon,


Differentiate between == and equals().

0 Answers  


How do you set security in applets?

1 Answers   Wipro,


How to make a non daemon thread as daemon?

0 Answers  


What are pass by reference and pass by value?

0 Answers  


What is finalize()? Is finalize() similar to a destructor?

0 Answers  


Explain the features of interfaces in java?

0 Answers  


Categories