Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Thank you very much! I post this twice so you can answer both of them.

So I have a question about linkqueue convert to generic class(see attachment), below it what I have right now. Thank you very much!

I post this twice so you can answer both of them.

-----------------------------------------------------------------------------

LinkedQueue.java

public class LinkedQueue

{

  private class Node

  {

    String value;

    Node next;

    Node(String val, Node n)

    {

      value = val; 

      next = n;

    }    

  }

  private Node front = null; 

  private Node rear = null;                   

  /**

    The method enqueue adds a value

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question