java Enum or Class with few constants. which one is advantageous?
<p>i have set of constants. Enum will be the best option to define set of constants.even we can define all constants in a java class. what are the advantages and disadvantages over both? i mean which one is more advantageous? Please help me.</p>

<p>Thanks!</p>
