Java Android issue: keyword -- new
<p>I am new to Android. I am really confused about this problem. For example, there are two java files.</p>

<pre><code>One.java
Two.java
</code></pre>

<p>I want to use some functions or parameters from Two.java, so I do this.</p>

<pre><code>Two two = new Two();
two.something;
</code></pre>

<p>or either I can do like this:</p>

<pre><code>public class One(){
  private Two two;
  public One(Context context){
    two = (Two) context;
  }
  public void func(){
    two.something;
  }
</code></pre>

<p>or maybe like:</p>

<pre><code>public class One(){
  Two two;
  public void func(){
    two = new Two();
    two.something;
  }
}
</code></pre>

<p>What's the difference between these ways or are there any other ways? Thanks!</p>
