nerdexam
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)
  • A
    7% (2)
  • B
    19% (5)
  • C
    4% (1)
  • D
    70% (19)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice