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. min, max.

Computer Science & Information Technology

You might also like to view...

Answer the following questions true (T) or false (F)

1. The body of a while statement must cause the loop repetition condition to become false after a finite number of passes to prevent an infinite loop. 2. In counting loops, the counter must be initialized to zero before execution of the loop body begins. 3. The loop repetition condition of a while or for statement can be false before the loop begins to execute.

Computer Science & Information Technology

Which of the following statements opens a file named MyFile.txt and allows you to append data to its existing contents?

a. FileWriter fwriter = new FileWriter("MyFile.txt"); PrintWriter outFile = new PrintWriter(fwriter); b. FileWriter fwriter = new FileWriter("MyFile.txt", true); PrintWriter outFile = new PrintWriter(fwriter); c. PrintWriter outfile = new PrintWriter("MyFile.txt", true); d. PrintWriter outfile = new PrintWriter(true, "MyFile.txt");

Computer Science & Information Technology

Melissa can use which of the following to make it significantly easier for assistive technology users to navigate tables?

FIGURE EX 1-1


a. Heading cells
b. Border thickness
c. Cell padding
d. Cell thickness

Computer Science & Information Technology

In the figure above, the number ____________________ refers to the previous color.

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

Computer Science & Information Technology