title: Java isEmpty() undefined for String?
body: <p>I'm working on a school project in eclipse, and when I try and use the <code>isEmpty()</code> method on a <code>String</code>, Eclipse shows up the following error:</p>
  
  <blockquote>
    <p>The method isEmpty() is undefined for the type String</p>
  </blockquote>
  
  <p>I've run the Java updates, but am still getting it. Is any reason why this method would be undefined?</p>