posted 20 years ago
the object has a lock,but consided the "abstract" class,that isn't instance,if it has a synchronized method ,i invoked the method from the driver class,i will receive the which locks?
the following class indicate my means:
at 1,i invoke the BaseClass f(),here,i will which lock,is Myclass's object?
why ?
thanks your help !