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


which one is the best practice using synchronization method
or synchronization block



which one is the best practice using synchronization method or synchronization block..

Answer / prajakta lakhe

synchronization block is the best practice to implement
synchronization. It allows us to synchronize the method whose
source code we dont know. and also this style helps us to
synchronize the particular block of code,where multiple
processes or threads can use a single resource at a time.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

why we use abstract word in abstract window toolkit in java language.

0 Answers   Infosys,


you have an unlimited supply of $3 and $7 poker chips. What is the largest integer value that you cannot make by combining different numbers of chips?

2 Answers  


Info for guidewire documents and interview questions

1 Answers  


i am getting the error while compiling my cics program with including db2 dclgen member it is showing that ur dclgen member not including and all the host variables are undeclared

0 Answers   TCS,


I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...

0 Answers  


In Java what is the difference between following two statements ? int a[],b; int []a,b;

1 Answers  


Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.

0 Answers   Amazon,


What language / script is used to validate web page

3 Answers  


How to convert numeric value into words in c#????plz suggest me the coding of this question???

1 Answers   NIIT,


What is test execution and when will we start execution please send me one example for this question

0 Answers  


what is meant by life cycle of a business

0 Answers   IBM,


what are methods we have in connection pooling

1 Answers   Wipro,


Categories