Java: invoking method
<p>In Java, I have something like this</p>

<pre><code>public class A {
    private String title;
    public A () { 
    // do something
    }

    public void run () {
        B b = new B();
        b.run();
    }

    public void changeTitle(String newTitle) {
        this.title = newTitle;
    } 
}


public class B {
   public B() {
   // do something
   }
   public void run() {

   }
}
</code></pre>

<p>My question is in method run() of B, is it possible to invoke method changeTitle() in A to change the title of the instance of A that instantiates B?</p>

<p>Thanks</p>
