title: Why is the need of Protected constructor in Abstract class in java
body: <p>While reviewing the java code, I have seen that the constructor of an abstract class is made protected.</p>
  
  <pre><code>public abstract class A {
     protected A() {
  
     }
  }
  </code></pre>
  
  <p>What </p>
  
  <blockquote>
    <p>Abstract means to me is that you can't create the instance of this
    class and use this class after extending</p>
  </blockquote>
  
  <p>. </p>
  
  <blockquote>
    <p>And protected constructor also ensures that.</p>
  </blockquote>
  
  <p>What is the point of doing two things, one making constructor protected and second making the class abstract for solving the same purpose.</p>