If there are two synchronized methods in one class.

If there are two synchronized methods in one class then what will be the beheviour of the threads accessing the methods.
[127 byte] By [imember@rediffmail.coma] at [2007-11-27 5:04:11]
# 1
hiIt just execute according to call hirarchy.thanks
krunal_bhatta at 2007-7-12 10:22:26 > top of Java-index,Java Essentials,Java Programming...
# 2
Synchronization is onobjects, not methods or classes. A thread, entering a synchronized method, synchronizes on the object on which that method is called. Another thread, attempting to synchronize on that object, will be made to wait until the first thread releases it.
malcolmmca at 2007-7-12 10:22:26 > top of Java-index,Java Essentials,Java Programming...