Effective Java 31 Use instance fields instead of ordinals
PrincipleNeverderiveavalueassociatedwithanenumfromitsordinal;storeitinaninstancefieldinstead.BadpracticeDemo//Abuseofordinaltoderiveanassociatedvalue-DON'TDOTHISpublicenumEnsemble{SOLO,DUET,TRIO,QUART