Synchronized blocks
807607Nov 10 2006 — edited Nov 10 2006I have a class with various methods which modify private variables. Now I need it so that only one method inside the entire class can be accessed at one time by one thread. Will making each individual function synchronized do this or will it only keep multiple threads from accessing that particular function at a time? Thanks in advance.