阅读代码:
<foreach item="item" index="index" collection="list"
open=" (" separator=", " close=") ">
<!-- 循环体,例如:#{item} -->
</foreach>
方法参数未使用@Param注解,则此处foreach遍历的应该是()类型的对象?
A.
数组
B.
List集合
C.
Map集合
D.
不能确定类型
正确答案是B
<foreach item="item" index="index" collection="list"
阅读代码:
<foreach item="item" index="index" collection="list"
open=" (" separator=", " close=") ">
<!-- 循环体,例如:#{item} -->
</foreach>
方法参数未使用@Param注解,则此处foreach遍历的应该是()类型的对象?
A.
数组
B.
List集合
C.
Map集合
D.
不能确定类型
正确答案是B