移动端

  • 题王微信公众号

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

计算机考试 | Java认证考试

模式切换

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

章节目录

单选题 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) {}

单选题 Which the security mechanism uses the concept of a realm?()

A

 authorization

B

 data integrity

C

 confidentiality

D

 authentication

单选题 Which security mechanism can be directed through the  element in a web deployment descriptor()?

A

 authorization

B

 data integrity

C

 confidentiality

D

 authentication

多选题 Which the two are characteristics of the Service Locator pattern?()

A

 It encapsulates component lookup procedures

B

 It increases source code duplication and decreases reuse

C

 It improves client performance by caching context and factory objects

D

 It degrades network performance due to increased access to distributed lookup services

单选题 Which statement at Point X on line 1 allows this code to compile and run?()

A

 import java.io.*.;

B

 include java.io.*;

C

 import java.io.PrintWriter;

D

 include java.io.PrintWRiter;

E

 No statement in needed.

多选题 Which the three are valid declarations of a float?()

A

 float foo = -1;

B

 float foo = 1.0;

C

 float foo = 42el:

D

 float foo = 2.02f:

E

 float foo = 3.03d:

单选题 What is the final value of i?()

A

 1

B

 2

C

 3

D

 4

E

 5

单选题 What is the result?()

A

 The program runs and prints nothing.

B

 The program runs and prints “Equal”.

C

 An error at line 5 cause compilation to fail.

D

 The program runs but aborts with an exception.

1 2 3 4 5 下一页 尾页 /

到第