阅读下列代码:

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

阅读下列代码:

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

<!—执行内容-->

</if>

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

A.

list值为null

B.

list不为空且元素个数为0

C.

list中至少有一个元素

D.

list中至多有一个元素

正确答案是C