11.9 |
Which of these methods can be called on objects implementing the Map interface? Select the two correct answers.
|
11.10 |
Which statements are true about maps? Select the two correct answers.
|
11.11 |
Which sequence of digits will the following program print? import java.util.*; public class Lists { public static void main(String[] args) { List list = new ArrayList(); list.add("1"); list.add("2"); list.add(1, "3"); List list2 = new LinkedList(list); list.addAll(list2); list2 = list.subList(2, 5); list2.clear(); System.out.println(list); } } Select the one correct answer.
|
11.12 |
Which of these classes have a comparator() method? Select the two correct answers.
|
11.13 |
Which method prototypes are defined in the interface java.util.Map.Entry? Select the two correct answers.
|