Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Online 1z0-819 Questions Video

Page: 7 / 10
Total 257 questions

Java SE 11 Developer Questions and Answers

Question 25

Which command line runs the main class com.acme.Main from the module com.example?

Options:

A.

java --module-path mods com.example/com.acme.Main

B.

java –classpath com.example.jar com.acme.Main

C.

java --module-path mods -m com.example/com.acme.Main

D.

java -classpath com.example.jar –m com.example/com.acme.Main

Question 26

Given:

Assume the file on path does not exist. What is the result?

Options:

A.

The compilation fails.

B.

/u01/work/filestore.txt is not deleted.

C.

Exception

D.

/u01/work/filestore.txt is deleted.

Question 27

Given:

After which line can we insert assert i < 0 || values[i] <= values[i + 1]; to verify that the

values array is partially sorted?

Options:

A.

after line 8

B.

after line 6

C.

after line 5

D.

after line 10

Question 28

Given:

You want to obtain the Filechannel object on line 1.

Which code fragment will accomplish this?

A)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Page: 7 / 10
Total 257 questions