题海让大学四年没有难题
白天模式登陆

题目详情

单选题 分析以下代码,选择正确的输出结果: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

Copyright © 2022 津ICP备2021001502号