Java - Cannot resolve symbol of in LocalDate.of
Because of your new
operator, you are attempting to instantiate a nested class called of
within LocalDate
, which does not exist.
Remove new
so it can parse as the static
method of
within LocalDate
.
LocalDate ld = LocalDate.of(2000,10,20);