Use Private Constructor in Utility Classes
To prevent someone instantiating an utility class, use private constructor.
public class Utilities {
// Enforce noninstantiability.
private Utilities() {}
}
This also prevents someone sub-classing it.