Saad Benbouzid wrote:So in my opinion as it is answer D is not correct, or answer D should be "java.time.LocalDate; import java.time.Month" instead of just "java.time.LocalDate".
You are absolutely correct!

That's a mistake and should be fixed. Many possible solutions: replace
Month.JUNE with 6, mark only answer option C as the correct answer, update the answer options adding the import for
java.time.Month as well,...
Hope it helps!
Kind regards,
Roel