nerdexam
Oracle

1Z0-829 · Question #32

1Z0-829 Question #32: Real Exam Question with Answer & Explanation

Sign in or unlock 1Z0-829 to reveal the answer and full explanation for question #32. The question stem and answer options stay visible for context.

Handling date, time, text, numeric and boolean values

Question

Given the code fragment: Duration duration = Duration.ofMillis(5000); System.out.println(duration); duration = Duration.ofSeconds(60); System.out.println(duration); Period period = Period.ofDays(6); System.out.println(period); What is the result?

Options

  • A$$SIM6D
  • BPT5000PT60MP6D
  • CPT5S0MP6D
  • DS000S60M6D

Unlock 1Z0-829 to see the answer

You've previewed enough free 1Z0-829 questions. Unlock 1Z0-829 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Duration#Period#Date-Time API#ISO-8601 formatting
Full 1Z0-829 Practice