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
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.
what is class module in vb6? what it's use? with example..
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!
in IBM PC -AT.WAT AT REFERS TO?
what is the difference between uservariables and systemvariables (in Environmental variables)???
When will you use shell script/Perl ahead of C/C++?
What is the difference between COM and CORBA?
What is Negative testing?
8.In DSP,Define Signal and System?and various type of signals.
WHat is execution in manual testing and when will we start execution and what language we use in execution
How do you initialize a static member of a class with return value of some function?
what is the meaning of without standing arrears?
iam confused to choose among testing, .net and java can anybody help me????????
what is the software to run the GSM gate opener program
WHAT IS MAIN IMPORTANT THING IN SOFTWARE?