|
| Total Answers and Comments: 8 |
Last Update: September 14, 2009 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, sushilkotnala, sonalgauravmahajan, SowmyaM, deepkrisna | Go To Top
|