Tag Archives: enum

Java Enum Puzzler

Recently, I ran into an interesting bit of code related to Java enumerations. Here’s a contrived minimal sample: When this code is run, an intuitive expectation is to see the following printed to the console: BRAVO CHARLIE ALPHA However, when … Continue reading

4 Comments

Filed under Java, Programming