title: If Person is class in java,then what is difference between 1)Person p; &2)Person p = new Person();?
body: <p>I am student learning about java.While solving problems I faced the issue.I want to know what is difference between these two statements. </p>
  
  <p>-The second statement is declaration of new object.</p>
  
  <p>-I don't know about the <strong>first statement</strong> and <strong>difference</strong> between two statements.</p>
  
  <p>Also plz let me know when to use both the statements.</p>
  
  <p>If Person is class in java,then what is difference between </p>
  
  <ol>
  <li><p><code>Person p;</code> </p></li>
  <li><p><code>Person p = new Person();</code></p></li>
  </ol>