Originally posted by Mishra Vivek:
... Can any object call one Synchronized and one non-Syncronized method at a time.
method1() //Synchronized
method2() //non Synchronized
...
My understanding (please confirm/correct me) is that these aren't really called at the same time. The first method must
return before the second is called.
But in any case, before a synchronized method can be executed, its object (or class) lock must be obtained by the calling thread.
[ February 15, 2005: Message edited by: marc weber ]