1.

What does the following piece of code do?

public Object function()
{
	if(isEmpty())
	return -999;
	else
	{
		Object high;
		high = q[front];
		return high;
	}
}

A. Dequeue
B. Enqueue
C. Return the front element
D. None of the mentioned
Answer» D. None of the mentioned


Discussion

No Comment Found