移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

计算机考试 | Java认证考试

题库
练习
考试
资讯

模式切换

0 0 0
我的错题 我的收藏 学习笔记

章节目录

单选题 Which is the valid identifier?()

A

 false

B

 default

C

 _object

D

 a-class

单选题 What is the value of b bat line 5()?

A

 -1

B

 225

C

 127

D

 Compilation will fail.

E

 Compilation will succeed but the program will throw an exception at line 4.

多选题 Which three EL expressions, inserted at line 16, are valid and evaluate to “d”? ()

A

 ${map.c}

B

 ${map[c]}

C

 ${map[“c”]}

D

 ${map.map.b}

E

 ${map[map.b]}

F

 ${map.map(map.b)}

多选题 Which two prevent a servlet from handling requests.?()

A

 The servlet’s init method returns a non-zero status.

B

 The servlet’s init method throws a Servlet Exception

C

 The servlet’s init method sets the Servlet Response’s context length to 0

D

 The servlet’s init method sets the Servlet Response’s content type to null.

E

 The servlet’s init method does NOT return within a time period defined by the servlet container.

单选题 Which statement is true if the do Start Tag method returns EVAL_BODY_BUFFERED?()

A

 The tag handler must extend body Tag.

B

 The do After Body method is NOT called.

C

 The set Body Content method is called.

D

 It is never legal to return EVAL_BODY_BUFFERED from do Start Tag.

多选题 In which two web application directories can dependent classes and libraries be located? ()

A

 /WEB-INF/lib as a JAR file

B

 /META-INF/lib as a JAR file

C

 /classes as compiled class files

D

 /WEB-INF/lib as compiled class files

E

 /WEB-INF/classes as compiled class files

F

 /META-INF/classes as compiled class files

多选题 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?()

A

 ${product ID}

B

 ${param.productID}

C

 ${params.productID}

D

 ${params.productID[1]}

E

 ${paramvalues.productID}

F

 ${paramValues.productID[0]}

G

 ${pageContext.request.productID}

首页 上一页 1 2 3 4 5 下一页 尾页 /

到第