Question: Which statement is true about formatting and parsing of temporal objects? Select the one correct answer. (a) The DateTimeFormatter class provides only factory methods to

Which statement is true about formatting and parsing of temporal objects?

Select the one correct answer.

(a) The DateTimeFormatter class provides only factory methods to obtain

predefined formatters.

(b) The styles defined by the java.time.format.FormatStyle enum type

are based on the ISO standard.

(c) The ofLocalizedDate() method of the DateTimeFormatter class

returns a formatter that is based on a letter pattern passed as argument to the

method.

(d) The pattern "yy-mm-dd" can be used to create a formatter that can format a

LocalDate object.

(e) None of the above.

Step by Step Solution

3.38 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

e a The DateTimeFormatter class provides factory metho... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming 8th Questions!