doubt about synchronized
I have a method which is a synchronized method (for example, method Foo in the following code block) and in this synchronized method another method which is not synchronized is invoked (for example, method Goo in the following code block). I'm wondering when executing in Goo from Foo, whether we still have the synchronized feature
synchronized public Foo()
As far as the callers of Foo are concerned, yes. But who else can be calling Goo besides Foo?