I have been trying to learn design patterns. This site uses the synchronized keyword, but I don't understand what it does.
I searched on the net and found that it is somewhat related to multi-threading and memory, but I am a mechanical engineer and don't understand what that means.
Can anybody please help me understand threads and the synchronized keyword?
 
     
     
    