please look into my code. why it is throwing this error
My code for implementation of queue using array is not executing
@Anku47
There was a single mistake in your code.
You used Queue in place of queue. This was a hindrance because the class name was queue.
The rest of it was correct.
If my answer is able to answer your query, please mark the doubt as resolved.