title: Java -- Pass variable from class to class
body: <p>I know that to pass from within the <strong>Same</strong> class, I would do something like this --- but what about between classes?</p>
  
  <pre><code>class TestMe{
      public static void main(String[] args)
      {
          int numberAlpha = 232;
          TestMe sendNumber = new TestMe();
          sendNumber.Multiply(numberAlpha);
      }
  
      void Multiply(int var)
      {
          var+=40;
      }
  }
  </code></pre>