The do…while loop works better for using the iterator than the regular while loop because:

A. studies have shown that the do…while loop is considerably faster in searching
B. the first function can be easily called within the do…while loop
C. although the first function is called to retrieve the first element outside of each loop, when the first element is processed, it would have to be processed outside of a regular while loop; in the do…while loop, the first element can be processed in the loop
D. the getNext function can be used in the condition for a do…while loop, but not for the
regular while loop

C

Computer Science & Information Technology

You might also like to view...

Technically, a ____ is a data structure used in a public key system to bind a particular, authenticated individual to a particular public key.

A. digital certificate B. digital signature C. message digest D. MAC

Computer Science & Information Technology

A wired NIC can be set to ____________________, which turns off the filtering mechanism and allows it to capture all the packets it receives.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology