Vidyalelo
Java Programming · Q42

Java Collections Framework

Programming · Java Programming · question 42

Q42

What are the use of front and rear pointers in CircularQueue implementation?

A.
Front pointer points to first element; rear pointer points to the last element
B.
Rear pointer points to first element; front pointer points to the last element
C.
Front and read pointers point to the first element
Answer
D.
Front pointer points to the first element; rear pointer points to null object

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board