A Queue in java is an interface; therefore, it can not be instantiated. Queue interface is implemented mainly in two classes, i.e. LinkedList & PriorityQueue.
確定! 回上一頁