A.request.getWriter();
B.request.getReader();
C.request.getInputStream();
D.request.getResourceAsStream();
第1题:
Given:11.staticclassA{12.voidprocess()throwsException{thrownewException();}13.}14.staticclassBextendsA{15.voidprocess(){System.out.println("B");}16.}17.publicstaticvoidmain(String[]args){18.Aa=newB();19.a.process();20.}Whatistheresult?()
A.Compilationfailsbecauseofanerrorinline19.
B.Anexceptionisthrownatruntime.
C.B
D.Compilationfailsbecauseofanerrorinline18.
E.Compilationfailsbecauseofanerrorinline15.
F.Thecoderunswithnooutput.
第2题:
[A] set [B] exact [C] given [D] placed
第3题:
【单选题】在一个Filter中,处理filter业务的是()方法
A.dealFilter (ServletRequestrequest,ServletResponse response,FilterChain chain)
B.dealFilter (ServletRequestrequest,ServletResponse response)
C.doFilter (ServletRequestrequest,ServletResponse response, FilterChain chain)
D.doFilter (ServletRequestrequest,ServletResponse response)
第4题:
A.final
B.static
C.native
D.public
E.private
第5题:
在一个Filter中,处理filter业务的是()方法。
A.dealFilter (ServletRequest request,ServletResponse response,FilterChain chain)
B.dealFilter (ServletRequest request,ServletResponse response)
C.doFilter (ServletRequest request,ServletResponse response, FilterChain chain)
D.doFilter (ServletRequest request,ServletResponse response)