在J2EE中,有如下代碼在Servlet1.java中。
importjavax.servlet.*;
importjavax.servlet.http.*;
importjava.io.IOException;
importjava.io.PrintWriter;
publicclassServlet1extendsHttpServlet{publicvoidinit()throwsServletException{}
publicvoidservice(HttpServletRequestrequest,HttpServletResponseresponse)throwsServletException,IOException{
PrintWriterout=response.getWriter();
out.println("hello!");}}
假如編譯Servlet要具備的環(huán)境都已經建立好?,F在用完全正確的命令編譯該文件,對于以下陳述正確的是()。