Multiple choice technology databases

Which of the following denote methods of HttpServlet class?

  1. doGet()

  2. doTrace()

  3. doOptions()

  4. All the Above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

HttpServlet class provides doGet(), doTrace(), doOptions(), doPost(), doPut(), doDelete(), and other methods corresponding to HTTP protocol verbs. Since doGet, doTrace, and doOptions are all valid HttpServlet methods, 'All the Above' is the correct answer.