<string>One of the use cases in your web application uses many session-scoped attributes. At the end of the usecase,you want to clear out this set of attributes from the session object. Assume that this static variableholds this set of attribute names:<br /> 201.private static final Set USE_CASE_ATTRS; <br /> 202.static {<br /> 203.USE_CASE_ATTRS.add("customerOID");<br /> 204.USE_CASE_ATTRS.add("custMgrBean");<br /> 205.USE_CASE_ATTRS.add("orderOID");<br /> 206.USE_CASE_ATTRS.add("orderMgrBean");<br /> 207.}<br /> Which code snippet deletes these attributes from the session object?()</string>
A、session.removeAll(USE_CASE_ATTRS);
B、for ( String attr : USE_CASE_ATTRS ) {session.remove(attr);}
C、for ( String attr : USE_CASE_ATTRS ) {session.removeAttribute(attr);}
D、for ( String attr : USE_CASE_ATTRS ) {session.deleteAttribute(attr);}
E、session.deleteAllAttributes(USE_CASE_ATTRS);