To send binary output in a response, the following method of HttpServletResponse may be used to get the appropriate Writer/Stream object.

To send binary output in a response, the following method of HttpServletResponse may be used to get the appropriate Writer/Stream object.




a. getStream
b. getOutputStream
c. getBinaryStream
d. getWriter




Answer: B


Learn More :