给定一个Servlet的代码片段如下Public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{ ______out.println(“hi kitty!”);out.close();}运行次Servlet时输出如下hi kitty!则应在此Servlet下划线处填充如下代码( )
A:PrintWriter out = response.getWriter();
B:PrintWriter out = request.getWriter();
C:OutputStream out = response.getOutputStream();
D:OutputStream out = request.getWriter();
发布时间:2024-05-10 20:44:58