以下文字与答案无关
提示:有些试题内容 显示不完整,文字错误 或者 答案显示错误等问题,这是由于我们在扫描录入过程中 机器识别错误导致,人工逐条矫正总有遗漏,所以恳请 广大网友理解。
New York]
B:New York, Atlanta]
C:New York, Atlanta, Dallas]
D:New York, Dallas]
">20.(单选题) 以下代码的输出结果是 __________ ? LinkedHashSet<String> set1 = new LinkedHashSet<>(); set1.add("New York"); LinkedHashSet<String> set2 = (LinkedHashSet<String>)(set1.clone()); set1.add("Atlanta"); set2.add("Dallas"); System.out.println(set2); 选项: A:New York]
B:New York, Atlanta]
C:New York, Atlanta, Dallas]
D:New York, Dallas]