Question: An enum is a datatype that can take the value of a set of predefined constants. We used enums in TicTacToe for X , O
An enum is a datatype that can take the value of a set of predefined constants. We used enums in TicTacToe for X O EMPTY, and a separate enum for WIN, DRAW, CONTINUE. What other situations would be good for using an enum? Select all correct answers.
Question options:
RGB color value as in
Days of the week
Colors in the rainbow as in red, orange, yellow, etcetera
Time of day
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
