Question: Java Question Provided information: LinkedList class Node class In class, we also wrote an implementation for a Queue using an ArrayList. Write your own Queue
Java Question

Provided information:
LinkedList class





Node class

In class, we also wrote an implementation for a Queue using an ArrayList. Write your own Queue class (Queue.java) that uses a LinkedList to store the underlying (String) data. Your implementation should have (at least) a constructor, an enqueue method, a dequeue method, and a peek method. The LinkedList class you use should be based off of the version we wrote in class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
