Question:
A method myMethod in class MyObjectType is declared sysnchronized.
If a call is made to myMethod in instance variable myObject then which
object provides the synchronization lock?
A. The first instance variable declared inside MyObjectType
B. The myMethod object of Type java.lang.reflect.Method
C. myObject itself
D. The client Object making the call
E The static Runtime object available in the JVM
我选的是C
大家看是不是正确,欢迎大家讨论一下!谢谢