阿摩線上測驗 登入

試題詳解

試卷:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899(51-100)#84004 | 科目:OCE

試卷資訊

試卷名稱:無年度 - Java EE 6 Web Component Developer Certified Expert Exam:1z0-899(51-100)#84004

科目:OCE

52 You have a use in your web application that adds several session-scoped attributes. At the end of the use case, one of these objects, the manage attribute, is removed and then it needs to decide which of the other session-scoped attributes to remove. How can this goal be accomplished?
(A) The object of the manager attribute should implement the HttpSessionBindingListener and it should call the removeAttribute method on the appropriate session attributes.
(B) The object of the manager attribute should implement the HttpSessionListenar and it should call the removeAttribute method on the appropriate session attributes.
(C) The object of the manager attribute should implement the HttpSessionBindingListener rind it should call the deleteAttribute method on the appropriate session attributes.
(D) The object of the manager attribute should implement the HttpsessionListener and it should call the deleteAttribute method on the appropriate session attributes.
正確答案:登入後查看