Oracle
1Z0-899 · Question #107
Which interface must a class implement so that instances of the class are notified after any object is 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 is 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
(27 responses)- A7% (2)
- B19% (5)
- C4% (1)
- D70% (19)
Community Discussion
No community discussion yet for this question.