移动端

  • 题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

单选题 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.

单选题 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?()

A

B

B

The code runs with no output.

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 18.

单选题 Given a class Repetition: Which code should be inserted at line 1 of Demo.java to compile and run Demo to print "pizzapizza"?()

A

import utils.*;

B

static import utils.*;

C

import utils.Repetition.*;

D

static import utils.Repetition.*;

E

import utils.Repetition.twice();

F

import static utils.Repetition.twice;

G

static import utils.Repetition.twice;

多选题 Given: Which two are true? ()

A

The output is mm.

B

The output is mc.

C

Component is-a Meter.

D

Component has-a Meter.

E

DeluxeThingy is-a Component.

F

DeluxeThingy has-a Component.

最新资讯

1 2 3 4 5 下一页 尾页 /

到第