移动端

  • 题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

单选题 Given: What is the result?()

A

Compilation fails.

B

An exception is thrown at runtime.

C

The attribute id in the ItemTest object remains unchanged.

D

The attribute id in the ItemTest object is modified to the new value.

E

A new ItemTest object is created with the preferred value in the id attribute.

多选题 Given: Which three changes should be made to adapt this class to be used safely by multiple threads?()

A

declare reset() using the synchronized keyword

B

declare getName() using the synchronized keyword

C

declare getCount() using the synchronized keyword

D

declare the constructor using the synchronized keyword

E

declare increment() using the synchronized keyword

单选题 Given: What is the result?()

A

Compilation fails.

B

aAaA aAa AAaa AaA

C

AAaa AaA aAa aAaA

D

AaA AAaa aAaA aAa

E

aAa AaA aAaA AAaa

单选题 Given: Which code, inserted at line 15, allows the class Sprite to compile?()

A

Foo { public int bar() { return 1; }

B

new Foo { public int bar() { return 1; }

C

new Foo() { public int bar() { return 1; }

D

new class Foo { public int bar() { return 1; }

单选题 Given: What is the result when the go() method is invoked?()

A

00

B

0001

C

000120

D

00012021

E

Compilation fails

F

An exception is thrown at runtime

单选题 Given: What is the result?()

A

2

B

3

C

12

D

23

单选题 Given: What is the result?()

A

Compilation fails.

B

An exception is thrown at runtime.

C

An instance of Forest is serialized.

D

An instance of Forest and an instance of Tree are both serialized.

单选题 Given: Which code fragment, inserted at line 23, allows the code to compile?()

A

df = new DateFormat();

B

df = Date.getFormat();

C

df = date.getFormat();

D

df = DateFormat.getFormat();

E

df = DateFormat.getInstance();

最新资讯

1 2 3 4 5 下一页 尾页 /

到第