Hide Utility Class Constructor : Utility classes should not have a public or default constructor
If this class is only a utility class, you should make the class final and define a private constructor: This prevents the default parameter-less constructor from being used elsewhere in your code. Additionally, you can make the class final, so that it can’t be extended in subclasses, which is a best practice for utility classes. … Read more