CS200 Lab 2, Implementing a Queue using a Linked List

Overview

In this lab you will implement a Queue using a Linked List.

Take the following codes and put them in an Eclipse project:

The Stack is from the example code from the first week's lectures. You need to implement the Queue, according to its interface. The instance variables, constructor, and main method have been provided. Queue.java does not compile. What do you need to do to make Queue.java work?