nerdexam
Oracle

1Z0-899 · Question #63

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

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

Question

For an HttpServletResponse response, which two create a custom header? (Choose two.)

Options

  • Aresponse.setHeader("X-MyHeader", "34");
  • Bresponse.addHeader("X-MyHeader", "34");
  • Cresponse.setHeader(new HttpHeader("X-MyHeader", "34"));
  • Dresponse.addHeader(new HttpHeader("X-MyHeader", "34"));
  • Eresponse.addHeader(new ServletHeader("X-MyHeader", "34"));
  • Fresponse.setHeader(new ServletHeader("X-MyHeader", "34"));

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