@Override
public T removeFront() {
	T front = getFront();

	firstNode = firstNode.getNext();

	if(firstNode == null) {
		lastNode = null;
	} else {
		firstNode.setPrev(null);
	}

	return front;
}

What will happen if removeFront() is called on an empty deque?

An EmptyDequeException will be thrown
  • Null will be returned
  • An EmptyQueueException will be thrown
  • firstNode.data will be returned

There are no hints for this question