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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

As per interoperatbility programs written in one language can be used by other language. How can we restrict the features of one language (say C#) in the programmer written in another language (say VB)..for example we have some features like operator overloading which is possible C#.NET (not in VB.NET), how can we restrict that when we are using this code in VB.NET.

2005


what is class module in vb6? what it's use? with example..

2487


what is radio button? Plz show code this! how will select radio buttons to go next window Forms? Supose o radio button1 o radio button2 o radio button3 o radio button4 how will coding this? Plz explain this!

3375


in IBM PC -AT.WAT AT REFERS TO?

1962


what is the difference between uservariables and systemvariables (in Environmental variables)???

2478


When will you use shell script/Perl ahead of C/C++?

1140


What is the difference between COM and CORBA?

1304


What is Negative testing?

2263


8.In DSP,Define Signal and System?and various type of signals.

2085


WHat is execution in manual testing and when will we start execution and what language we use in execution

2004


How do you initialize a static member of a class with return value of some function?

1246


what is the meaning of without standing arrears?

10510


iam confused to choose among testing, .net and java can anybody help me????????

2144


what is the software to run the GSM gate opener program

2282


WHAT IS MAIN IMPORTANT THING IN SOFTWARE?

2375