To find the smallest and largest element of a Collection, use Collections methods _________ and __________.

a. least, greatest.
b. smallest, largest.
c. first, last.
d. min, max.

D

Computer Science & Information Technology

You might also like to view...

Match each of the following terms with their location:

I. header II. Slide pane III. thumbnails IV. Notes pane V. Status bar A. top of each slide B. on the right of the window C. on the left of the window D. below the Slide pane E. bottom of the window

Computer Science & Information Technology

What will be printed by the following statement if the value of the select is ‘Q’:

switch (select) { case ‘Q’ : case ‘q’: cout << “quit ”; case ‘R’: case ‘r’: cout << “redo ”; break; case ‘P’: case ‘p’: cout << “play ”; default: cout << “other ”; } a) quit b) quit redo c) quit redo play d) other

Computer Science & Information Technology