title: The constructor String(java.lang.String) is undefined
body: <p>Im going over a study guide for a test that I have soon and decided to go into DrJava and try to figure something with <code>String</code> out. It worked fine once but now I keep getting the error <code>"The constructor String(java.lang.String) is undefined</code> and cant continue writing my code. I've looked up the different ways to write a string and none are working. Any idea what I'm doing wrong? Thanks!</p>
  
  <pre><code>public class StudyGuide {
     public static void main(String args[]) {
        String str = new String("Write a method that replicates toCharArray");
        System.out.println("The string says:");
     }
  }
  </code></pre>