移动端

  • 题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

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

A

null

B

finally

C

null finally

D

Compilation fails.

E

finally exception

多选题 Given: Which three are valid?()

A

p0 = p1;

B

p1 = p2;

C

p2 = p4;

D

p2 = (ClassC)p1;

E

p1 = (ClassB)p3;

F

p2 = (ClassC)p4;

单选题 Click the Exhibit button. What is the result?()

A

4321

B

0000

C

An exception is thrown at runtime.

D

Compilation fails because of an error in line 18.

单选题 Click the Exhibit button. What is the result? ()

A

Value is: 8

B

Compilation fails.

C

Value is: 12

D

Value is: -12

E

The code runs with no output.

F

An exception is thrown at runtime.

单选题 Given: If class Donkey is invoked twice, the first time without assertions enabled, and the second time with assertions enabled, what are the results?()

A

no output

B

no output  assert is on

C

assert is on

D

no output An AssertionError is thrown.

E

assert is on An AssertionError is thrown.

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

A

foofoofoofoofoo

B

foobarfoobarbar

C

foobarfoofoofoo

D

foobarfoobarfoo

E

barbarbarbarbar

F

foofoofoobarbar

G

foofoofoobarfoo

最新资讯

1 2 3 4 5 下一页 尾页 /

到第