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

explain local datetime api in java8?

999


What are nested classes in java?

1092


How to change value in arraylist java?

1151


What is a default constraint?

1054


Do I need to import java.lang package any time? Why?

1358


Difference between a process and a program?

1098


What is meant by object?

993


what methods would you overwrite in java.lang.object class?

987


What are the principle concepts of oops?

940


What is thread life cycle?

940


Explain about anonymous inner classes in java?

1054


Explain the scope of a variable.

1074


Can you call one constructor from another if a class has multiple constructors?

1015


What are the types of exceptions?

1030


Is it necessary that each try block must be followed by a catch block?

1003