阅读下列代码:<p>&lt;if   test =“list != null  and  list.size()&gt;0”&g

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

阅读下列代码:

<if   test =“list != null  and  list.size()>0”>

<!—执行内容-->

</if>

当list满足()条件,if标签中的内容生效?

A.

list值为null

B.

list不为空且元素个数为0

C.

list中至少有一个元素

D.

list中至多有一个元素

正确答案是C