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

Oracle Certification 1z0-829 Book

Page: 4 / 4
Total 50 questions

Java SE 17 Developer Questions and Answers

Question 13

Daylight Saving Time (DST) is the practice of advancing clocks at the start of spring by one hour and

adjusting them backward by one hour in autumn.

Considering that in 2021, DST in Chicago (Illinois) ended on November 7th at 2 AM, and given the fragment:

What is the output?

Options:

A.

true

false

B.

False

false

C.

true

true

D.

false

true

Question 14

Given the code fragments:

Which action prints Wagon : 200?

Options:

A.

At line n1, implement the java.io, Serializable interface.

B.

At line n3, replace readObject (0 with readLine().

C.

At Line n3, replace Car with LuxurayCar.

D.

At Line n1, implement the java.io.AutoCloseable interface

E.

At line n2, in the main method signature, add throws IOException, ClassCastException.

F.

At line n2, in the main method signature, add throws IoException, ClassNotFoundException.

Question 15

Given:

Options:

A.

Hello

B.

Compilation fails

C.

A NumberFormatException is thrown

D.

there

Page: 4 / 4
Total 50 questions