题目详情
单选题 分析以下代码,选择正确的输出结果:List list = new ArrayList<>();list.add("One");list.add("Two");list.add("Three");List subList = list.subList(1, 2);subList.add("Four");System.out.println(list)
A. [One, Two, Three]
B. [One, Two, Four, Three]
C. [One, Two, Four]
D. [One, Two, Three, Four]
学科:面向对象程序设计
时间:2025-12-14 10:32:15
相关题目
相关作业