Beginner object references question
<p>If I instantiate an object in a main class, say:</p>

<pre><code>SomeObject aRef = new SomeObject();
</code></pre>

<p>Then I instantiate another object from the main class, say:</p>

<pre><code>AnotherObject xRef = new AnotherObject();
</code></pre>

<p>How can the instance of AnotherObject make use of the aRef reference to access the methods in SomeObject? (To use the same instance of SomeObject)</p>
