View Single Post
  #3 (permalink)  
Old 01-24-2008, 02:45 PM
Sathish Sathish is offline
Member
 
Join Date: Jan 2008
Posts: 6
Sathish is on a distinguished road
There can be multiple threads which can run on base of specific memory.in that case the content in that memory should not be altered or mutated.So Synchronize is used to process thread by its priority.

And to your second question,Threading is a wonderful concept in Java.Synch is only used when there is a chance of multi threads uses or alters the contents of exact memory.But different memory spaces and its contents can be mutated with multi threading concept.

clear!
Reply With Quote