When I was writing code regularly in both C++ and Java in the early days of Java, I often missed Java’s (at the time) lack of an enum. Fortunately, when Java finally got its enum, it was worth the ...
this.stateAbbreviation = newStateAbbreviation; } } Because enums are automatically Serializable (see Javadoc API documentation for Enum), there is no need to explicitly add the “implements ...