1.

Which of the below is not a subinterface of Queue?(a) BlockingQueue(b) BlockingEnque(c) TransferQueue(d) BlockingQueueThe question was asked in an online interview.My doubt is from Data Structures-Queue in division java.util – The Collections Framework of Java

Answer»

The correct answer is (b) BlockingEnque

To explain I WOULD say: BlockingQueue, TransferQueue and BlockingQueue are SUBINTERFACES of QUEUE.



Discussion

No Comment Found

Related InterviewSolutions