移动端

  • 题王微信公众号

    题王微信公众号

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

计算机考试 | Oracle认证考试

模式切换

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

章节目录

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

A

0

B

1

C

2

D

3

E

4

F

Compilation fails.

G

An exception is thrown at runtime.

多选题 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

Compilation fails.

B

pi is bigger than 3.

C

An exception occurs at runtime.

D

pi is bigger than 3. Have a nice day.

E

pi is not bigger than 3. Have a nice day.

单选题 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 classes defined in two different files : What is required at line 5 in class SomeApp to use the process method of BitUtils?()

A

process(bytes);

B

BitUtils.process(bytes);

C

app.BitUtils.process(bytes);

D

Util.BitUtils.process(bytes);

E

Importutil.BitUtils.*;process(bytes);

F

Some App can not use the process method in BitUtils.

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

A

s14

B

s16

C

s10

D

Compilation fails.

E

An exception is thrown at runtime.

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

A

null

B

zero

C

some

D

Compilation fails.

E

An exception is thrown at runtime.

最新资讯

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

到第