移动端

  • 题王微信公众号

    题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

单选题 Given: Which statement is true?()

A

The code will compile without changes.

B

The code will compile if public Tree() { Plant(); } is added to the Tree class.

C

The code will compile if public Plant() { Tree(); } is added to the Plant class.

D

The code will compile if public Plant() { this("fern"); } is added to the Plant class.

E

The code will compile if public Plant() { Plant("fern"); } is added to the Plant class.

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

A

The value "4" is printed at the command line.

B

Compilation fails because of an error in line 5.

C

Compilation fails because of an error in line 9.

D

A NullPointerException occurs at runtime.

E

A NumberFormatException occurs at runtime.

F

An IllegalStateException occurs at runtime.

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

A

Compilation fails.

B

An exception is thrown at runtime.

C

[608, 610, 612, 629] [608, 610]

D

[608, 610, 612, 629] [608, 610, 629]

E

[606, 608, 610, 612, 629] [608, 610]

F

[606, 608, 610, 612, 629] [608, 610, 629]

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

A

Compilation fails due to an error in line 23.

B

Compilation fails due to an error in line 29.

C

A ClassCastException occurs in line 29.

D

A ClassCastException occurs in line 31.

E

The value of all four objects prints in natural order.

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

A

2

B

24

C

234

D

246

E

2346

F

Compilation fails.

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

A

2

B

3

C

4

D

6

E

7

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

A

Mr. John Doe

B

in exception is thrown at runtime.

C

Compilation fails because of an error in line 12.

D

Compilation fails because of an error in line 15.

E

Compilation fails because of an error in line 20.

单选题 Given that the current directory is empty, and that the user has read and write privileges to the current, and the following: Which statement is true?()

A

Compilation fails.

B

Nothing is added to the file system.

C

Only a new file is created on the file system.

D

Only a new directory is created on the file system.

E

Both a new file and a new directory are created on the file system.

最新资讯

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

到第