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 |
Wt is the main difference between Java and Java J2EE and Advanced java?
Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?
5 Answers HCL, Mobillo Venture,
How to pass parameters in RMI?
Explain ioc concept?
What is the need of serialize?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Hi frnds ,iam new to java and j2ee ,my requirement is using java or any j2eetech how to lock an user when he enter wrong credentials(uname&password) more than 3 times.take the username and passowrd in a bean no need to conned Db kindly provide me sample application code or and ideas or links or tutorials plzzzzz urgent for me thanks in advance...
What is difference between object state and behavior?
What are the ways to define classes that can be run as threads?
What exceptions are thrown by RMI?
Write a singleton program?
what we can't do in jdbc but can do hibernate?