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 the difference between Synchronizing mehtod &
Synchronizing block?

Answer Posted / anjani kumar jha

In syncronizing block the object is locked.
In Syncronozing the method the method is
locked........means only one at a time only one thread can
use that method.


Thanks and Regards
Anjani Kumar Jha
9623154095

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

8190


What is the purpose of garbage collection in java?

1140


What is the purpose of void class?

1109


How many bytes is a string in java?

1038


How to implement an arraylist in java?

1252


why we use merge option in hybernate pls give a ex snippet

2030


Can we start a thread twice in java?

1041


What are untrusted applets?

1199


Is math an abstract class in java?

1077


Which method returns the length of a string?

1095


What is included in core java?

1098


What is the difference between class & object?

1061


What is the access scope of protected access specifier?

1042


How do you sort a set in java?

967


What is indexof?

1031