There's more to Java Enums
Java's enums, being objects themselves, can have state and behavior.
Consider the following example.
public enum Coin {
PENNY,
NICKEL,
DIME,
QUARTER,
HALF_DOLLAR,
DOLLAR
}
You might be tempted to do the following:
public long...
abyteortwo.com3 min read