Please answer in Java code Specify the list-based implementation for a enqueue() and dequeue() method of…

Please answer in Java code
Specify the list-based implementation for a enqueue() and
dequeue() method of the Queue ADT.