The Comparable interface is in the ______________ package.

(a) java.util
(b) java.io
(c) java.awt
(d) java.lang

(c) java.awt

Computer Science & Information Technology

You might also like to view...

Match the following terms to their meanings:

I. Table II. Cell III. Table style IV. Column chart V. Line chart A. where a row and column intersect B. formats the entire table C. used to illustrate trends over time D. presents data in a series of rows and columns E. useful for illustrating comparisons among related numbers

Computer Science & Information Technology

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

1. We can replace the nested IFTHENELSE control structure with the CASE control structure. 2. A nested IFTHENELSE control structure is generally easier to work with than a CASE control structure. 3. In a CASE control structure, the test that is most likely to reveal a true outcome should be placed last. 4. It is good programming practice to include an other path in every CASE control structure. 5. In a CASE control structure, every test requires an exit connector on the flowchart and an ENDCASE statement in the pseudocode.

Computer Science & Information Technology