Given the definition of MyObject and that an instance of MyObject is bound as a session attribute:
Which is true?
A.
Only a single instance of MyObject may exist within a session.
B.
The unbound method of the MyObject instance is called when the session to which it is bound
times out.
C.
The com.example.MyObject must be declared as a servlet event listener in the web application
deployment descriptor.
D.
The valueUnbound method of the MyObject instance is called when the session to which it is
bound times out.
Explanation: