title: Why do we need a private constructor?
body: <p>If a class has a private constructor then it can't be instantiated.
  So, if I don't want my class to be instantiated and still use it, then I can make it static.</p>
  
  <p>What is the use of a private constructor?</p>
  
  <p>Also, it's used in the singleton class, but except for that, is there any other use?</p>
  
  <p>(Note: The reason I am excluding the singleton case above is that I don't understand why we need a singleton at all when there is a static class available. You may not answer this for my confusion in the question. )</p>