Upgrade to Java SE 8 OCP ( Java SE 6 and all prior versions) (1Z0-813)

© examsiri.com
Question : 7 of 8
 
Marks: +1, -0
Given the code fragment:
LocalDate date1 = LocalDate.of(2016, Month.JANUARY, 1);
LocalDateTime date2 = LocalDateTime.of(2017, Month.JUNE, 1, 1, 1);
Period p = Period.between(date1, date2);
System.out.print(p.getYears() + ":" + p.getMonths() + ":" + p.getDays());

What is the result?
Go to Question: