title: Java: How to access methods from another class
body: <p>I tried to simplify my predicament as much as possible. I have three classes:</p>
  
  <p>Alpha:</p>
  
  <pre><code>public class Alpha {
       public void DoSomethingAlpha() {
            cbeta.DoSomethingBeta()  //?
       }
  }
  </code></pre>
  
  <p>Beta:</p>
  
  <pre><code>public class Beta {
       public void DoSomethingBeta() {
            // Something
       }
  }  
  </code></pre>
  
  <p>Main:</p>
  
  <pre><code>public class MainApp {
       public static void main(String[] args) {           
            Alpha cAlpha = new Alpha();   
            Beta cBeta = new Beta();
       }
  }
  </code></pre>
  
  <p>I hope I did not over simplify it.  My question is how do I access cBeta.DoSomethingBeta() from a method in Alpha? </p>