Narasimha Rao Konjeti
Answered On : Jun 15th, 2006
ZERO
Login to rate this answer.
sonia
Answered On : Jun 21st, 2006
It is a process of ensuring that if two or more threads are using a shared resource then only one thread get access to that shared resource at a time.
Synchronization contains empty implementation, so no method is used.

1 User has rated as useful.
Login to rate this answer.
In this two threads cannot use the same resource simultaneously beacuse the thread execution gets interrupted or terminated hence only a single thread can share resource at a time.
Login to rate this answer.
Synchronization is a process by using Synchronize keyword to prevent the dead lock. This can be used in methods or block to prevent two threads to access the same resource in the same time.
Login to rate this answer.