nerdexam
Oracle

1Z0-899 · Question #105

1Z0-899 Question #105: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-899 to reveal the answer and full explanation for question #105. The question stem and answer options stay visible for context.

Question

Your web site has many user-customizable features, for example font and color preferences on web pages. Your IT department has already built a subsystem for user preferences using Java SE's lang.util.prefs package APIs and you have been ordered to reuse this subsystem in your web application.You need to create an event listener that stores the user's Preference object when an HTTP session is created. Also, note that user identification information is stored in an HTTP cookie. Which partial listener class can accomplish this goal?

Options

  • Apublic class UserPrefLoader implements HttpSessionListener
  • Bpublic class UserPrefLoader implements SessionListener
  • Cpublic class UserPrefLoader implements HttpSessionListener
  • Dpublic class UserPrefLoader implements SessionListener

Unlock 1Z0-899 to see the answer

You've previewed enough free 1Z0-899 questions. Unlock 1Z0-899 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 1Z0-899 Practice