I would appreciate any explanation or pointers to the following.
1) How syncronized works in java. I heard it locks the whole object I mean syncronized methods of the object. Is it true?
2) If I have syncronized block inside a function how does this work exactly....