将集合转成数组的方法是( )

分类: 单选题 发布时间: 2024-01-20 20:41 浏览量: 0

将集合转成数组的方法是( )

A.asList()

B.toCharArray()

C.toArray()"

D.copy()

正确答案是C