1: public T getFront() 2: { 3: if (isEmpty()) 4: throw new EmptyQueueException(); 5: else 6: return queueNode.getData(); 7: } // end getFront 8: // Version 4.0