Question: 2.a: Implement an enum in Java which enumerates the days of the week. Assuming the week starts on Sunday, include in the enum the relevant

2.a: Implement an enum in Java which enumerates the days of the week. Assuming the week starts on Sunday, include in the enum the relevant position of the day in day i.e. Sun - false, Mon true, etc. Provide a suitable toString0 method to 12 MARKS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
