Page 1 of 1

About Question enthuware.ocpjp.v17.2.3143 :

Posted: Thu Dec 01, 2022 4:45 am
by i.salvadori
Hi,
in the explanation to this question it is said
LocalDate has an instance method named dayOfWeek()
while the method is actually called

Code: Select all

getDayOfWeek()
as it is used also in the code snippet.
I think it would be less confusing to use the exact same name also in the explanation.

Thanks,
Cheers,
Ilenia

Re: About Question enthuware.ocpjp.v17.2.3143 :

Posted: Thu Dec 01, 2022 6:26 am
by admin
You are right. It should be getDayOfWeek. Fixed.
thank you for your feedback!