移动端

  • 题王微信公众号

    题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

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

A

2

B

24

C

234

D

246

E

2346

F

Compilation fails.

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

A

collie

B

harrier

C

Compilation fails.

D

collie harrier

E

An exception is thrown at runtime.

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

A

Hello

B

Hello World

C

Compilation fails.

D

Hello World 5

E

The code runs with no output.

F

An exception is thrown at runtime.

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

A

True

B

Not true

C

An exception is thrown at runtime.

D

Compilation fails because of an error at line 12.

E

Compilation fails because of an error at line 19.

多选题 Click the Exhibit button. Which three code fragments, added individually at line 29, produce the output 100?()

A

n = 100;

B

i.setX( 100 );

C

o.getY().setX( 100 );

D

i = new Inner(); i.setX( 100 );

E

o.setY( i ); i = new Inner(); i.setX( 100 );

F

i = new Inner(); i.setX( 100 ); o.setY( i );

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

A

test

B

null

C

An exception is thrown at runtime.

D

Compilation fails because of an error in line 1.

E

Compilation fails because of an error in line 4.

F

Compilation fails because of an error in line 5.

单选题 Click the Exhibit button. What is the output if the main( ) method is run?()

A

4

B

5

C

8

D

9

E

Compilation fails.

F

An exception is thrown at runtime.

G

It is impossible to determine for certain.

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

A

null

B

finally

C

null finally

D

Compilation fails.

E

finally exception

最新资讯

1 2 3 4 5 下一页 尾页 /

到第