title: Can you override a class constructor and use inherited?
body: <p>When you define a class constructor in a base class (i.e. to set some static class variable), is it possible to override this class constructor in a derived class and call the constructor from its hierarchal parent with <strong>inherited</strong>?</p>
  
  <p>Example:</p>
  
  <pre><code>TBaseclass = class(TObject)
  public
     class constructor ClassCreate; virtual;
  end;
  
  TOtherClass = class(TBaseClass)
  public
    class constructor ClassCreate; override;
  end;
  
  **implementation**
  
  class constructor TBaseClass.ClassCreate;
  begin
    //do some baseclass stuff
  end;
  
  class constructor TotherClass.ClassCreate;
  begin
    inherited;
    //do some other stuff
  end;
  </code></pre>