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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a working thread? : Java thread

1046


Is java owned by oracle?

1020


What is an object’s lock and which object’s have locks?

967


What is bytecode in java ?

1196


Describe the term diamond problem.

1039


Is singleton thread safe in java?

992


What is class forname?

1024


can used Protected Class outside Function.?

1106


What is a method in coding?

1062


What is an escape character in java?

1039


Do we need to manually write Copy Constructor?

1034


What is package protected in java?

992


What are the two parts of a conditional statement?

965


What will be the initial value of an object reference which is defined as an instance variable?

1151


Can we assign the reference to this variable?

980