Which classes implement the abstract type of data queue?

3

Given that there are classes java.util.Stack and java.util.ArrayDeque in the context of stacks, are there also Java classes that implement the abstract type of data queue?

    
asked by anonymous 14.04.2017 / 19:53

1 answer

4

java.util.Queue is an interface that defines the data structure Queue and one of the classes that implement Queue is LinkedList . Thus, LinkedList is a Row implementation.

    
14.04.2017 / 20:28