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...

wat is class level lock and object level lock

Answer Posted / ask

Class Lock - If a static method is marked as Synchrnozied
and called by a Thread, the whole Class will be locked
until the method execution completed.

Object Lock - If a non-static method is marked as
Synchronzied and called by a Thread, the current instance
(Object) will be locked util the method execution completed.

Is This Answer Correct ?    53 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an interface be defined inside a class?

1076


What is static and final keyword in java?

1037


What methods are used to get and set the text label displayed by a button object?

1029


Is there any case when finally will not be executed?

962


Is java jre still free?

967


Why is java architectural neutral?

1115


What is a two-pass assembler?

1064


Can we use switch statement with strings?

1052


How do generics work in java?

1047


What is parsing and its types?

1122


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1100


What is collection sort in java?

962


What is parse method?

1035


Can you have two constructors in java?

1000


What is the gregoriancalendar class in java programming?

1056