title: Accesing an Instance of another class
body: <p>So I am thinking trough a little project. And a problem I seem to encounter is :
  I have  Class A which contains an instance of class C and a list of instances of class B.
  Each class contains a timer. I need to execute a class C method when that timer fires an event.</p>
  
  <pre><code>public class A
  {
    C C1 = new C(this);
    public ArrayList&lt;B&gt; B1= new ArrayList&lt;&gt;();        
  }
  </code></pre>
  
  <p>so when timer expires I need to fire something like:</p>
  
  <pre><code>C1.method()
  </code></pre>