移动端

  • 题王微信公众号

    题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

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

A

42

B

420

C

462

D

42042

E

Compilation fails.

F

An exception is thrown at runtime.

多选题 Given: Which two statements are true about the result if the default locale is Locale.US?()

A

The value of b is 2.

B

The value of a is 3.14.

C

The value of b is 2.00.

D

The value of a is 3.141.

E

The value of a is 3.1415.

F

The value of a is 3.1416.

G

The value of b is 2.0000.

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

A

test

B

Exception

C

Compilation fails.

D

NullPointerException

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

A

peep

B

bark

C

meow

D

Compilation fails.

E

An exception is thrown at runtime.

单选题 Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()

A

If the compile is successful, Utils.class is added to the source directory.

B

The compiler returns an invalid flag error.

C

If the compile is successful, Utils.class is added to the classes directory.

D

If the compile is successful, Utils.class is added to the bigProject directory.

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

A

The code runs with no output.

B

An exception is thrown at runtime.

C

Compilation fails because of an error in line 20.

D

Compilation fails because of an error in line 21.

E

Compilation fails because of an error in line 23.

F

Compilation fails because of an error in line 25.

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

A

Compilation fails.

B

An exception is thrown at runtime.

C

The code executes and prints "running".

D

The code executes and prints "runningrunning".

E

The code executes and prints "runningrunningrunning".

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

最新资讯

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

到第