title: Calling static method from the same class vs different class Java
body: <p>I have a class say <code>ClassOne</code>. 
  The <code>ClassOne</code> has two methods say <code>method1()</code> and <code>method2()</code> and both of these methods are static and will be called right one after other(like this):</p>
  
  <pre><code>ClassOne.method1();
  ClassOne.method2();
  </code></pre>
  
  <p>This sequence is guaranteed not to change.</p>
  
  <p>Now I wanted to know if there is any performance difference in the above case and the following case:</p>
  
  <p>Second Case:</p>
  
  <pre><code>method1(){
      method2();
  }
  </code></pre>