What is the difference between an enum and an array? with both you can store elements the main difference between arrays and enums are that enums are not index based wereas arrays are, that is all I know.
So I have a few questions
- How do we use enums?
- What are enums for?
- Where would we use an enum instead of an array