多项选择题

Given: 
1.  public class ConstOver { 
2.  public constOver(int x, int y, int z) { 
3.  } 
4.  }  
Which two overload the ConstOver Constructor?()

A. ConstOver() {}
B. protected int ConstOver(){}
C. private ConstOver(int z, int y, byte x ) {}
D. public Object ConstOver(Int x, int y, int z) {}
E. pubic void ConstOver (byte x, byte y, byte z) {}


您可能感兴趣的试卷

你可能感兴趣的试题

2.单项选择题Which retrieves all cookies sent in a given HttpSErvletRequest request?()

A. request.getCookies()
B. request.getAttributes()
C. request.getSession ().getCookies()
D. request.getSession (). GetAttributes()

3.多项选择题For a given Servlet Response response, which two retrieve an object for writing text data? ()

A. response.get Writer ()
B. response.get Output Stream ()
C. response.get Output Writer ()
D. response.get Writer ().get Output Stream()
E. response.get Writer (Writer.OUTPUT_TEXT)

4.单项选择题


The attribute “name” has a value of “Foo,”  
What is the result if this tag handler’s tag is invoked?()

A. Foo
B. done
C. Foodone
D. An exception is thrown at runtime.
E. Compilation fails because of an error in this code.

6.单项选择题


When is the Float object. Created in line 3, eligible for garbage collection?()

A. just after line 5
B. just after line 6
C. just after line 7
D. just after line 8 (that is . as the method returns)

7.多项选择题Which three are valid URL mappings to a servlet in a web deployment descriptor? ()

A. */*
B. /*.do
C. myServlet
D. /Myservlet
E. /MyServlet/*
F. MyServlet/*.isp

8.单项选择题


And command line is vacation: Java Test red green blue()

A. bas has the value of “”.
B. baz has the value of null.
C. bas has the value of “red”.
D. baz has he value of “blue”.
E. baz has the value of “green”.
F. the code does not compile.
G. The program throws and exception.

9.单项选择题

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 thrown.
F. The code will not compile.

10.单项选择题


What is the decimal value of J at line 5?()

A. 0
B. 1
C. 14
D. –15
E. An error at line 3 cause compilation to fail.
F. An error at line 4 cause compilation to fail.

最新试题

Which the three are true about servlet filters?()

题型:多项选择题

What else must the developer do to ensure that the intended security goal is achieved()?  

题型:单项选择题

A developer is designing a web application which extensively uses EJBs and JMS. The developer finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further, because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides a solution for this problem?()

题型:单项选择题

Which two are true()

题型:多项选择题

Which path, relative to a web application’s root, identifies the web application’s deployment descriptor?()

题型:单项选择题

Given the HttpServlet code:  getServletContext().setAttribute(“foo”, “value”);What is the result?()

题型:单项选择题

Given a web application in which the request parameter product ID contains a product identifier.Which two EL expressions evaluate the value of the product ID?()

题型:多项选择题

Which statement, at line 16, retrieves an InputStream for the file /WEBINF/ nyresrc.bin()?

题型:单项选择题

Which the JSTL code snippet can be used to import content from another web resource?()

题型:单项选择题

Which three are guaranteed to be valid for the  element of a web application deployment descriptor?()

题型:多项选择题