question on the CD: You have to send a gif image to the client as a response to a request. How will you acquire the 'out' variable to do this? I chose OutputStream out = response.getOutputStream(); but the answer is ServletOutputStream out = response.getOutputStream(); the reason is it is more specific, is it right???
[SCJP 1.2, SCJD, SCWCD]
posted 13 years ago
That is correct. In JWeb, it states that although the answer you provided was correct, the other one is more specific.