title: Search for String in the queue
body: <p>I'm somewhat new to programming, so sorry if this is stupid..</p>
  
  <p>I have a Queue of strings and I want code for search About element "E" in this code .
  because everytime this error shows :</p>
  
  <blockquote>
    <p>string cannot be converted to char.</p>
  </blockquote>
  
  <pre><code>public class Queue&lt;Character&gt; {
  private java.util.LinkedList&lt;Character&gt; list = new java.util.LinkedList&lt;Character&gt;();
  public Queue() {
  }
  public void clear() {
  list.clear();
  }
  public boolean isEmpty() {
  return list.isEmpty();
  }
  public Character firstEl() {
  return list.getFirst();
  }
  public Character dequeue() {
  return list.removeFirst();
  }
  public void enqueue(Character el) {
  list.addLast(el);
  }
  public String toString() {
  return list.toString();
  }
  
  public static void main(String []arg) {
  Queue&lt;String&gt; student = new Queue&lt;String&gt;();
  student.enqueue("A");
  student.enqueue("B");
  student.enqueue("C");
  student.enqueue("D");
  student.enqueue("E");
  student.enqueue("F");
  System.out.println(student.toString());
  String mStr = student.dequeue();
  System.out.println(mStr + " came first and being served first");
  }
  }
  </code></pre>