Online College Courses for Credit

Queues: add() offer() element() peek() remove() poll() (Java)

Queues: add() offer() element() peek() remove() poll() (Java)

Author: Nathan Schutz
See More
Fast, Free College Credit

Developing Effective Teams

Let's Ride
*No strings attached. This college course is 100% free and is worth 1 semester credit.

29 Sophia partners guarantee credit transfer.

314 Institutions have accepted or given pre-approval for credit transfer.

* The American Council on Education's College Credit Recommendation Service (ACE Credit®) has evaluated and recommended college credit for 26 of Sophia’s online courses. Many different colleges and universities consider ACE CREDIT recommendations in determining the applicability to their course and degree programs.


This video looks at a Java implementation of the abstract data type Queue. It shows the differences between the methods of the Queue interface. It also shows why a Linked List is a good data structure to use to implement a Queue.