当前分类: SCDCD(310-081)
问题:多选题Which the two are true about the JSTL core iteration custom tags?()AIt may iterate over arrays, collections, maps and strings.BThe body of the tag may contain EL code, but not scripting code.CWhen looping over collections, a loop status object may be u...
查看答案
问题:Company.com has decided to use the FUBAR Application Server ...
问题:多选题Which two security mechanisms protect the response stream?()AauthorizationBdata integrityCconfidentialityDauthentication...
问题:单选题Which thefollowingstatements about static inner classes is true?()A An anonymous class can be declared as static.B A static inner class cannot be a static member of the outer class.C A static inner class does not require an instance of the enclosing...
问题:单选题1. class A { 2. public byte file Number ( ) { 3. return l; 4. } 5. } 6. 7. Class B extends A { 8. public short getNumber( ) { 9. return 2; 10. } 11. 12. public short getNumber( ) { 13. B b = new B( ); 14. System.out.printIn(b.getNumber( ))...
问题:单选题Given: 8.int index = 1: 9.Boolean [] test = new boolcan [3]; 10.boolcan foo = test [index]; What is the result()?A foo has the value of 0.B foo has the value of null.C foo has the value of true.D foo has the value of false.E An-exception is t...
问题:单选题What is the result?()A Compilation succeeds and 1 is printed.B complication succeeds and 2 is printed.C An error at line 8 causes compilation to fail.D An error at line 13 causes complication to fail.E An error at line 14 causes compilation t...
问题:单选题Within a web application deployment descriptor, which maps the com.example.LoginServlet servlet to /utils/LoginServlet?()A AB BC CD D...
问题:单选题A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? ()A Transfer ObjectB Service LocatorC Front ControllerD In...
问题:单选题Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly, the consultant created several dozen JSP pages that directly communicate with the database. The Squeaky business team has since purchased a set ...
问题:单选题Which element is the parent of the tag in the web application deployment descriptor? ()A web-app B filters C servlet D filter-list...
问题:多选题Which four types of object can be thrown using the throw statement?()AErrorBEventCObjectDExceptionEThrowableFRuntime Exception...
问题:多选题Which the two are true regarding a web application class loader?()AA web application may override the web container’s implementation classesBA web application running in a J2EE product may override classes in the javax.* namespaceCA web application cla...
问题:单选题Which retrieves the binary input stream on line 13?()A request.get Writer ():B request.get Reader ():C request.get Input Stream():D request.get Resource As Stream():E request.get Resource As Stream (Servlet Request. REQUEST):...
问题:单选题A web application uses the HttpSession mechanism to determine if a user is “logged in”. When a user supplies a valid user name and password, an HttpSession is created for that user. The user has access to the application for only 15 minutes after logg...
问题:多选题Given: 1. public class Method Over { 2. public void set Var (int a, int b, float c) { 3. } 4. } Which two overload the set Var method()?Aprivate void set Var(int a, float c, int b) {}Bprotected void set Var(int a, int b, float c) {}Cpublic int se...
问题:单选题Given an HttpServlet Request request and Http Servlet Response response, which sets a cookie “username” with the value “joe” in a servlet.?()A request.add Cookie (“username”. “joe”)B request.set Cookie (“username, “joe”)C response.add Cookie (userna...
问题:单选题Which will declare the method that forces a subclass to implement it?()A public double methoda ():B static void methoda(double d1) {}C public native double methoda ():D abstract public foid methoda ():E protected void methoda (double d1) {}...
问题:多选题A JSP page needs to instantiate a JavaBean to be used by only that page. Which two jsp:useBean attributes must be used to access this attribute in the JSP page?()AidBtypeCnameDclassEscopeFcreate...