Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following attributes would be best represented by an enum type in Java?
A variable isDayOff which is true if an employee has the day off, and false otherwise.
A variable dayOff which holds the day of the month (0 to 31) when an employee is rostered off.
A variable dayOff which holds the single day of the week (one of Mon-Sun) when an employee is rostered off.
A variable daysOff which holds the (possibly multiple) days of the week (Mon-Sun) when an employee is rostered off.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!