title: LinkedList cannot find symbol error
body: <p>First here is my code:</p>
  
  <pre><code>package linkedlist;
  
  public class LinkedList {
  
      public static void main(String[] args) {
          LinkedList list = new LinkedList();
  
          list.addAtFront("Sachar");
          list.addAtFront("Osborne");
          list.addAtFront("Suess");
          System.out.println(list);
  
          list.remove("Suess");
          list.remove("Sachar");
          list.remove("Osborne");
          System.out.println(list);
      }
  }
  </code></pre>
  
  <p>I am also using NetBeans.</p>
  
  <p>Whenever I try to compile I get the following errors: </p>
  
  <pre><code>error: cannot find symbol
  
  list.addAtFront(java.lang.String);
  symbol:   method addAtFront(String)
  location: variable list of type LinkedList
  
  
  error: cannot find symbol
  
  list.remove(java.lang.String);
  symbol:   method addAtFront(String)
  location: variable list of type LinkedList
  </code></pre>
  
  <p>Please help me out here. I copied the code exactly from an example so it's not an error I made.</p>