The Difference Between Two Methods? The Java Enum has two methods that retrieve that value of an enum constant, name() and .toString(). The toString() method calls the [...]
Discover an alternative way to implement the classic GOF strategy pattern using the humble enum. With code examples, you will see two interesting ways to implement strategy [...]