Oracle
1Z0-899 · Question #12
Which interface must a class implement so that instances of the class are notified after any object added to a session?
The correct answer is D. javax.servlet.http.HttpSessionAttributeListener. See the full explanation below for the reasoning.
Question
Which interface must a class implement so that instances of the class are notified after any object added to a session?
Options
- Ajavax.servlet.http.HttpSessionListener
- Bjavax.servlet.http.HttpSessionValueListener
- Cjavax.servlet.http.HttpSessionBindingListener
- Djavax.servlet.http.HttpSessionAttributeListener
How the community answered
(53 responses)- A4% (2)
- B15% (8)
- C6% (3)
- D75% (40)
Community Discussion
No community discussion yet for this question.