private firstlastlist thelist//public linkqueue(/constructor thelist new firstlastlist()/make -ended list //public boolean isempty(/true if queue is empty return thelist isempty()//public void insert(double /insertrear of queue thelist insertlast( )//public double remove(/removefront of queue return thelist deletefirst()//public void displayqueue(system out print("queue (front-->rear)")thelist displaylist()///end class linkqueue ///////////////////////////////////////////////////////////////class linkqueueapp public static void main(string[argsthrows ioexception linkqueue thequeue new linkqueue()thequeue insert( )/insert items thequeue insert( )