Oracle 1Z0-808 Exam question no. 42

Q.- Given the code fragment:- 

LocalDateTime dt = LocalDateTime.of (2014, 7, 31, 1, 1); 
dt.plusDays (30); 
dt.plusMonths (1); 
System.out.println(dt. format (DateTimeFormatter. ISO_DATE_TIME)); 

What is the result? 

A) An exception is thrown at runtime. 

B) 2014-07-31 

C) 2014-09-30T00:00:00 

D) 2014-07-31T01:01:00


⧪ please give your answer in a comment section.

Post a Comment

2 Comments