Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Given:

What is the output?

A.

1 2 [1, 2, 3, four] 3 four

B.

1 2 [1, 2, 3, 4] 3 4

C.

1 2 [1, 2, 3, 4] 3 four

D.

1 2 [1, 2, 3, four] 3 4

Which two describe reasons to modularize the JDK? (Choose two.)

A.

easier to understand the Java language

B.

improves security and maintainability

C.

easier to expose implementation details

D.

improves application robustness

E.

easier to build a custom runtime linking application modules and JDK modules

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Given:

Which statement on line 1 is calling the method of the supplier object correctly?

A.

System.out.printin(supplier.get() );

B.

System.out.printin(supplier.test() );

C.

System.out.printin(supplier.apply() );

D.

System.out.printin(supplier.accept() );

Given:

Assuming that this code compiles correctly, which three statements are true? (Choose three.)

A.

B cannot be abstract.

B.

B is a subtype of A.

C.

A cannot be abstract.

D.

A cannot be final.

E.

B cannot be final.

F.

A is a subtype of B.

Given:

What is the output?

A.

I am an object array

B.

The compilation fails due to an error in line 1.

C.

I am an array

D.

I am an object

Given:

What is the result?

A.

2134

B.

2143

C.

214

D.

234

Given:

Which three are true?

A.

b1.foo(c) prints o1a Mundo!

B.

b1.foo(c) prints Bonjour le monde!

C.

F2.foo(c) prints hello world !

D.

f1.foo(c) prints Honjour le mond!

E.

f1.foo(c) prints ola Mundo1

F.

f1.foo(c) prints Hello world!

G.

b1. foo(c) prints Bonjour le monde!

Given:

What is the result?

A.

Green

B.

Mr, Blue

C.

Mr, Green

D.

An exception is thrown at runtime

Given:

You want to obtain the Filechannel object on line 1.

Which code fragment will accomplish this?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D