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

  firstNode = firstNode.getNext();

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

  return front;
}

Which of the following will NOT happen if removeFront() is called on a deque with 1 item?

lastNode.prev will be returned
  • firstNode and lastNode will become null
  • firstNode.data will be returned
  • lastNode.data will be returned

There are no hints for this question