title: Regarding String functionality
body: <p>I was developing the below class..</p>
  
  <pre><code>public class Test1 
  {
      public void method(Object o)
      {
          System.out.println("Object Verion");
      }   
      public void method(String s)
      {
          System.out.println("String Version");
      }
  
  
  
      public static void main(String args[])
      {
          Test1 question = new Test1();
          //question.method(question);
  
          question.method(null);
      }
  
  }
  </code></pre>
  
  <p>Now upon executing it invokes string version as output So please advise here string is treated as null and what should we pass to invoke the object version.Thanks in advance</p>