title: How do I compare a character to check if it is null?
body: <p>I tried the below, but Eclipse throws an error for this.</p>
  
  <pre><code>while((s.charAt(j)== null)
  </code></pre>
  
  <p>What's the correct way of checking whether a character is <code>null</code>?</p>