(Choose 1 answer)
Which of the following classes define the methods setStatus(...) and sendError(...) used to send an HTTP error back to the browser? (Choose one)
A. HttpServletResponse and ServletResponse respectively.
B. ServletResponse and HttpServletResponse respectively.
C. Both are defined in HttpServletResponse.
D. Both are defined in ServletResponse
I
Q: 27