What would be the purpose of the following lines of code?

back = (back + 1) % DEFAULT_CAPACITY;
items[back] = newEntry;

a. enables a circular linked list implementation of a queue
b. eliminates rightward drift
c. enables a circular array implementation of a queue
d. keeps a linked list from running out of memory

c. enables a circular array implementation of a queue

Computer Science & Information Technology

You might also like to view...

Use the New from Existing button to open a copy of a selected document.

a. true b. false

Computer Science & Information Technology

The default size of a text field is 20 characters

Indicate whether the statement is true or false

Computer Science & Information Technology