Sep 23
Static Methods – a Marriage
Static methods have their place, and can be useful. The two valid reasons that come to mind are: Some utility methods that do not modify global state, given an input will always produce the same output An alternative to overloading constructors suggested by Joshua Bloch in Effective Java – In this way it is a [...]