Queue InterfaceBasics#Always insert or delete from one end or anotheroperation is always O(1), for both enqueue and dequeueSub-Interface: Deque#Deque implements QueueDifference:Queue is one side in, one side outDeque can enqueue/dequeue at both sides