|
| Total Answers and Comments: 7 |
Last Update: July 01, 2008 Asked by: sathyasha |
|
| | |
|
Submitted by: vaneet Synchronization is helpful only when you know that more than 1 thread is trying to access the same method. for that purpose, you wuill have to synchronize the method ie. only that thread which has the key for the lock(the synchronization lock) will be let inside. No other thread can access that method untill it is given the key
Above answer was rated as good by the following members: damodarJ, pravinsharma | Go To Top
|