title: How do I call a public static void that is in a different class.
body: <p>I have 2 classes, MainActivity and MainGame. If I have a public static void in MainActivity, and one in MainGame. How would I execute the one in MainGame from MainActivity?</p>
  
  <p>For example, I have this:</p>
  
  <p>Main Activity:</p>
  
  <pre><code>public static void 1()
  {
  2();
  }
  </code></pre>
  
  <p>Main Game:</p>
  
  <pre><code>public static void 2()
  {
  //blah blah blah
  }
  </code></pre>