title: Why can't a Java class be both abstract and final
body: <p>Suppose I've a utility class which contains only static methods and variables. e.g:</p>
  
  <pre><code>public abstract final class StringUtils
  {
      public static final String NEW_LINE = System.getProperty("line.separator");
  
      public static boolean isNotNullOrSpace(final String string)
      {
          return !(string == null || string.length() &lt; 1 || string.trim().length() &lt; 1);
      }
  }
  </code></pre>
  
  <p>In this scenario, it makes sense to make the class both abstract and final. Abstract because making an object of this class will be of no use as all methods are accessible statically. Final because the derived class cannot inherit anything from this class as it does not have any non-static member.</p>
  
  <p>C# allows <strong>static</strong> modifier for such classes. Why doesn't Java support this?</p>