Implement a very large queue using java
<p>I have a question.
I was once asked this in the interview --</p>

<p>Suppose you have a queue.A very large queue containing objects. And you cannot fit this queue in the memory. So how do you go about implementing it so that you can add from the end of the queue.And remove from the start of the queue.How is this solution implemented in Java?
Any suggestions..??</p>
