Which of the following statements are true?
a. The Comparable interface contains the compareTo method with the signature "public int compareTo(E)".
b. The Comparator interface contains the compare method with the signature "public int compare(E, E)".
c. A Comparable object can compare this object with the other object.
d. A Comparator object contains the compare method that compares two objects.
abcd
You might also like to view...
To add two nodes node1 and node2 into a pane, use ______.
a. pane.add(node1, node2); b. pane.addAll(node1, node2); c. pane.getChildren().add(node1, node2); d. pane.getChildren().addAll(node1, node2);
Which of the following statements about try blocks is true?
a. The try block must be followed by at least one catch block. b. The try block must be followed by a finally block. c. The try block should contain statements that may process an exception. d. The try block should contain statements that may throw an exception.
A ____ is one that represents only one of two states, true or false.
A. Boolean expression B. short-circuit evaluation C. trivial expression D. truth table
What ranges of numbers are used when configuring a standard numbered ACL?
A) 100—199 B) 2000—2699 C) 1—99 D) 1300—1999