Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle 1Z0-819 Exam - Topic 5 Question 29 Discussion

Actual exam question for Oracle's 1Z0-819 exam
Question #: 29
Topic #: 5
[All 1Z0-819 Questions]

Given:

LocalDate d1 = LocalDate.of(1997,2,7);

DateTimeFormatter dtf =

DateTimeFormatter.ofPattern( /*insert code here*/ );

System.out.println(dtf.format (d1));

Which pattern formats the date as Friday 7th of February 1997?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Berry
5 months ago
Really? I thought it would be more complicated.
upvoted 0 times
...
Rolland
5 months ago
No way, it's B for sure!
upvoted 0 times
...
Dulce
5 months ago
Wait, isn't it supposed to be option D?
upvoted 0 times
...
Shakira
5 months ago
Definitely B! Looks perfect.
upvoted 0 times
...
Lemuel
5 months ago
I think option B is correct.
upvoted 0 times
...
Carlota
6 months ago
I thought "dd" was for two-digit days, so maybe D is correct since it uses "d" for single-digit days. But I'm still not completely sure!
upvoted 0 times
...
Tesha
6 months ago
I feel like I've seen a question like this before, and I think "eeee" is definitely for the day of the week. But I'm torn between B and D.
upvoted 0 times
...
Effie
6 months ago
I think option B looks familiar. It has "th" in the right place, but I can't recall if "MMMM" is necessary for the full month name.
upvoted 0 times
...
Britt
6 months ago
I remember we practiced formatting dates, but I'm not sure if "dd" or "d" is the right choice for single-digit days.
upvoted 0 times
...
Dante
6 months ago
This seems straightforward - the two source types are Existing datasets and Records from a Salesforce object.
upvoted 0 times
...
Frederica
6 months ago
Hmm, this looks like it's testing our understanding of class inheritance and access modifiers. I'll need to carefully analyze the class definitions and think through which fields are accessible from the main method.
upvoted 0 times
...
Luis Garmendia
4 years ago
D
upvoted 1 times
...

Save Cancel