单选题 下列实现了动态数组的是______。
  • A.vector和ArrayList
  • B.Map和Set
  • C.Vector和Map
  • D.ArrayList和Set
【正确答案】 A
【答案解析】[解析] 动态数组是一种可以任意伸缩长度的对象,Java中提供的向量和arrayList都可以实现动态数组。