title: calling static method in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3293353/how-come-invoking-a-static-method-on-a-null-reference-doesnt-throw-nullpointe">How come invoking a (static) method on a null reference doesn’t throw NullPointerException?</a>  </p>
  </blockquote>
  
  
  
  <p>Can any one explain why the output of the following program is "<strong>Called</strong>"</p>
  
  <pre><code>public class Test4{
  
    public static void method(){
      System.out.println("Called");
    }
  
    public static void main(String[] args){
      Test4 t4 = null;
      t4.method();
    }
  }
  </code></pre>
  
  <p>I know we can call static method with class reference , but here I am calling using null reference . please clarify my doubt</p>