- 9
print days in week
6 Answers
+ 11
import java.time.*;
then check it like that:
if (DayOfWeek.of(1)==DayOfWeek.SATURDAY)
But this statement will always be false, because the enum value according to 1 is MONDAY.
+ 10
What is your question?
+ 8
I still don't know what you want to do.
Do you want to print all days of the week, like Monday, Tuesday and so on
or
do you want to output, which day of the week was on a particular date?
+ 1
thanks alot for you halp
0
print days in week?
0
if 1= "saterday"