In case we want to use enum with more information and not just as constant values, and we want to be able to compare two enums.
Consider the following example:
public enum Coin {
PENNY(1), NICKEL(5), DIME(10), QUARTER(25);
private final int value;
Coin(int value){
this....