What does the following output?
int year = 2020; int month = Month.MARCH; int day = 24; LocalDate date = LocalDate.of(year, month, day); System.out.println(date.isBefore(LocalDate.now()));
C.
LocalDate allows passing the month as an int or Month enum parameter.
However, Month.MARCH is an enum.
It cannot be assigned to an int variable, so the declaration of month does not compile, and Option C is correct.