title: Java final abstract class
body: <p>I have a quite simple question:</p>
  
  <p>I want to have a Java Class, which provides one public static method, which does something. This is just for encapsulating purposes (to have everything important within one separate class)...</p>
  
  <p>This class should neither be instantiated, nor being extended. That made me write: </p>
  
  <pre><code>final abstract class MyClass {
     static void myMethod() {
        ...
     }
     ... // More private methods and fields...
  }
  </code></pre>
  
  <p>(though I knew, it is forbidden).</p>
  
  <p>I also know, that I can make this class solely final and override the standard constructor while making it private.</p>
  
  <p>But this seems to me more like a "Workaround" and SHOULD more likely be done by final abstract class...</p>
  
  <p>And I hate workarounds. So just for my own interest: Is there another, better way?</p>