What is synchronization?
Answers were Sorted based on User's Feedback
Answer / janet
Synchronization is the mechanism that ensures that only one
thread is accessed the resource at a time.
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / mahipal reddy.kaitha
 Synchronized keyword can be applied to methods or
parts of the methods only.
 Synchronize keyword is used to control the access
to critical code in multi-threaded programming.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ranjani
It is a mechanism which is used to provide the priority for
multiple thread programs to avoid the deadlock condition.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / devarathnam c,kotagudibanda(po
Hi...
Synchronization:It is a mechanism of controlling the shared
resource againist the multiple processes inorder to provide
the concurrent access.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / akshay
If there is a portion of code within a method or the
complete method that can be accessed by multiple threads,
that section of code is called critical section. To make
sure that only one thread can access critical section at a
time, we synchronize critical section. Synchronization is
the keyword to avoid concurrent access to critical section
of the code.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nadesh.k
It is a mechanism which is used to provide the priority for
multiple thread programs to avoid the deadlock condition.
Is This Answer Correct ? | 2 Yes | 0 No |
What are the purpose of introspection?
which book is better for jdbc ,servlets and jsp
Can we define constructors in Servlet?
3 Answers Accenture, Opus, Wipro,
Define aop(assepct oriented programing)?
Why doesn’t the focus feature on the tag work in every circumstance?
What is the need of serialize?
What are JTA/JTS and how they used by client?
What is the argument type of a programs main() method?
Can I map more than one table in a cmp?
What modifiers may be used with an inner class that is a member of an outer class?
what is difference between object state and behaviour?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!