阅读代码:<p>&lt;foreach item="item" index="index" collection="list" 

分类: SSM第四单元 发布时间: 2024-01-21 00:38 浏览量: 1

阅读代码:

<foreach item="item" index="index" collection="list" 

open=" (" separator=", " close=") "> 

        <!-- 循环体,例如:#{item} -->

</foreach>

方法参数未使用@Param注解,则此处foreach遍历的应该是()类型的对象?

A.

数组

B.

List集合

C.

Map集合

D.

不能确定类型

正确答案是B