title: extends of the class with private constructor
body: <p>Suppose we have the following code:</p>
  
  <pre><code>class Test {
      private Test() {
          System.out.println("test");
      }
  
  }
  
  public class One extends Test {
  
      One() {
          System.out.println("One");
      }
  
      public static void main(String args[]) {
  
          new One();
      }
  }
  </code></pre>
  
  <p>When we create an object <code>One</code>, that was originally called the parent class constructor <code>Test()</code>. but as <code>Test()</code> was private - we get an error.
  How much is a good example and a way out of this situation?</p>