title: Difference between .equals ("0") and .equals('0')
body: <p>Context:</p>
  
  <p>String comparison using equals with double quotes and single quotes</p>
  
  <p>I tried checking the value of the field "parentId" (String) of one of my business objects as below:</p>
  
  <pre><code>System.out.println("Status 1 = "+myBusObj.getParentId().equals("0"));
  
  
  System.out.println("Status 2 = "+myBusObj.getParentId().equals('0'));
  </code></pre>
  
  <p>I get the below output:</p>
  
  <pre><code>Status 1 = true //where parentId was of value 0 (String)
  
  Status 2 = false //where parentId was of value 0 (String)
  </code></pre>
  
  <p>Problem:
  Why <code>Status 1 is true</code> but <code>Status 2 is false</code>?</p>