Oracle
1Z0-808 · Question #38
1Z0-808 Question #38: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-808 to reveal the answer and full explanation for question #38. The question stem and answer options stay visible for context.
Question
public static void main(String[] args) {
String date = "2014-05-04";
.parse("2014-05-04T00:00:00.000");
.format(DateTimeFormatter.ISO_DATE_TIME);
System.out.println(date);
}
What is the result?
Options
- AMay 04, 2014T00:00:00.000
- B2014-05-04T00:00:00.000
- C5/4/14T00:00:00.000
- DAn exception is thrown at runtime.
Unlock 1Z0-808 to see the answer
You've previewed enough free 1Z0-808 questions. Unlock 1Z0-808 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.