Say I have enum
values:
public enum Day {
SUNDAY, MONDAY, TUESDAY, WEDNESDAY,
THURSDAY, FRIDAY, SATURDAY
}
Using the enhanced for loop construct, how can I write a code fragment that prints all the days of the week. I'm new to enhanced for loops so i don't know where to start.