+ 1

What are the advantages of array over enum?

Comparison of array, enum and related..

23rd Jan 2017, 6:09 AM
Madhu Nepal
Madhu Nepal - avatar
1 Answer
+ 1
Enum is a collection of contants but you can change the value of the array collection. The reason you need to use Enum is just to limit a type to a certain collection of constants. You cannot do it with array
22nd Feb 2017, 8:39 AM