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

if the memory capacity is 700 presently occupied by process is 690. then another process request space(40) how this situation handled in java.

4 Answers   Wipro,


system.out.println(1 + 3);

8 Answers  


What will happen if static modifier is removed from the signature of the main method?

0 Answers  


Do I need java on my pc?

0 Answers  


What is the difference between a constructor and a method?

0 Answers  


What are concepts of OOPS and how are they implemented in Java?

2 Answers   KPIT,


How to compare strings in java?

0 Answers  


why pointer is not used in java?

3 Answers  


What is the difference between sop and work instruction?

0 Answers  


What is hashset in java?

0 Answers  


Can extern variables be initialized?

0 Answers  


What is the use of put method?

0 Answers  


Categories