title: I can't call a method in the client from my LinkedList class
body: <p>got it working, see comments.</p>
  
  <p>well apparently it's not just in the client. I can't call any of the methods I've created at all. For my assignment, I'm supposed to create those methods in a class then implement them in a client. I can't even call the methods within the initial class. Not sure why.    </p>
  
  <p>import java.util.*;</p>
  
  <pre><code>public class Driver5
  {
    public static final int SENTINEL = 0;
  
    public static void main(String[] args)
    {
      int value = 1;
  
      Scanner keyboard = new Scanner(System.in);
      LinkedList&lt;Intcoll5&gt; P = new LinkedList&lt;Intcoll5&gt;();
  
      while(value != SENTINEL)
      {
        if (value &gt; 0)
        {
          P.**insert**(value);
        }
      }
    }
  }
  </code></pre>
  
  <p>still working on some methods, just trying to call insert()</p>
  
  <pre><code>import java.util.LinkedList;
  import java.util.*;
  
  public class Intcoll5
  {
  
    LinkedList&lt;Integer&gt; c = new LinkedList&lt;Integer&gt;();
    ListIterator&lt;Integer&gt; I = c.listIterator();
  
    public Intcoll5(int i)
    {
      c = new LinkedList&lt;Integer&gt;();
    }
  
    public void insert(int i)
    {
      Integer I = new Integer(i);
      if (!c.contains(I))
      {
        c.addFirst(I);
      }
    }
  
    public void copy(Intcoll5 obj)
    {
  
      while (I.hasNext())
      {
      }
    }
  
    public boolean belongs(Integer i)
    {
      return true;
    }
  
    public void omit(Integer i)
    {
      if (c.contains(i))
      {
        c.remove(i);
      }
    }
  
    public int get_howmany()
    {
      int i = 0;
      while (I.hasNext())
      {
        i++;
      }
      return i;
    }
  
    public void print()
    {
      while (I.hasNext())
      {
        Integer n = I.next();
        System.out.println(n.intValue());
      }
    }
  
    public boolean equals(Intcoll5 obj)
    {
      return true;
    }
  }
  </code></pre>
  
  <p>just "insert" is underlined in the client, error is: "cannot find symbol".</p>