多选题 Given:
3. import java.util.*;
4. public class Corner {
5. public static void main(String[] args) {
6. TreeSet<String> t1 = new TreeSet<String>();
7. TreeSet<String> t2 = new TreeSet<String>();
8. t1.add("b"); t1.add("7");
9. t2 = (TreeSet)t1.subSet("5", "c");
10. try {
11. t1.add("d");
12. t2.add("6");
13. t2.add("3");
14. }
15. catch (Exception e) {System.out.print("ex ");}
16. System.out.println(t1 + " " + t2);
17. } }
What is the result?
【正确答案】 D
【答案解析】