aspose file tools*
The moose likes Beginning Java and the fly likes  an parent object's lock Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

an parent object's lock

zhang feng

Joined: Dec 16, 2002
Posts: 19
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 !
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

closing this, because its a duplicate of this thread please continue the discussion in the original
subject: an parent object's lock
Similar Threads
Class lock
Synchronized block
an parent object's lock
Synchronized Block and Synchronized method