Hi. I have one code which I am not able to run on my pc because of older version of windows. Please tell me what should be the output of this code. Public Void doGet(HttpServletRequest req, HttpServletResponse res) { print Writerout=res.getWriter(); res.BufferSize(1024); out.println("Hello"); res.reset(); out.println("How"); res.flushBuffer(); out.println("Are you?"); res.reset(); } This question was asked in exam and I want the output of this. Please tell me if anyone knows. Thanks in advance.
I think Are you? is on top of the previous two (i.e. screen wiped). But I know little about desktop programming.
I think these are things to confuse you, since you said it was a test. I agree with TOPS 30. Except I think it's actually this Hello How Are You? No double spaces between them