how to call method of Owner?

Posted by joseph on Stack Overflow See other posts from Stack Overflow or by joseph
Published on 2010-03-21T16:34:36Z Indexed on 2010/03/21 16:51 UTC
Read the original article Hit count: 246

Filed under:
|

Hello. I have Class1, which has methods:

  1. setSomething()
  2. createObjectOfClass2()

Now, when I create object of Class2, is it possible to call setSomething method from it?

© Stack Overflow or respective owner

Related posts about java

Related posts about design-patterns