Oracle
1Z0-899 · Question #150
Given that a scoped attribute cart exists only in a user's session, which two, taken independently, ensure the scoped attribute cart no longer exists? (Choose two.)
The correct answer is B. <c:remove var="cart" /> D. <c:remove var="cart" scope="session" />. See the full explanation below for the reasoning.
Question
Given that a scoped attribute cart exists only in a user's session, which two, taken independently, ensure the scoped attribute cart no longer exists? (Choose two.)
Options
- A${cart = null}
- B<c:remove var="cart" />
- C<c:remove var="${cart}" />
- D<c:remove var="cart" scope="session" />
- E<c:remove scope="session">cart</c:remove>
- F<c:remove var="${cart}" scope="session" />
- G<c:remove scope="session">${cart}</c:remove>
How the community answered
(33 responses)- A6% (2)
- B82% (27)
- F3% (1)
- G9% (3)
Community Discussion
No community discussion yet for this question.