lists :: queues

class Queue
{
  private Node front;
  private Node rear;
  
  class Node
  {
    int item;
    Node link;
    
    Node (int i, Node n)
    {
      item =i;
      link = n;
    } 

  }//end of Node class

}//end of Queue class


//to insert  new node into the Queue class
void enqueue (int item)
{
   //insert code here
}