I have a quite simple question:
I want to have a Java Class, which provides one public static method, which does something. This is just for encapsulating purposes (to h
Declare the constructor of the class to be private. That ensure noninstantiability and prevents subclassing.
private