View Single Post
  #4 (permalink)  
Old 10-06-2008, 02:27 AM
priyanka.dandekar priyanka.dandekar is offline
Member
 
Join Date: Oct 2008
Posts: 45
priyanka.dandekar is on a distinguished road
Btw just to answer your question,
You cannot call two synchronized methods of a class on the same object. This is the use of synchronization. If you can call two synchronized methods on the same object then there is a chance of corruption of the state of the object. Synchronization helps you to avoid this....

____________________________________________
Priya,
Cooking is Fun | Eat Healthy Stay Fit | Sweets | Raita | Bread | Dal
__________________
Cheers,

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote