Confusion with Enum type
<p>Why is it that when I define an enum, I pass it a list of field names, and then somehow those field names (e.g. Days.MONDAY) end up referring to field <em>values</em>? I can pass along a field (e.g. Days.MONDAY) and then use a switch to get the field value. Even more strange, when I declare the enum fields, I don't even have to put the names in quotes, even though they are actually values.</p>
