Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
    Bookmark Topic Watch Topic
  • New Topic

an parent object's lock

 
zhang feng
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
closing this, because its a duplicate of this thread please continue the discussion in the original
 
    Bookmark Topic Watch Topic
  • New Topic