Static factory method for constructors
<p>Effective java says 
"Consider providing static factory methods instead of constructors"</p>

<p>If you have a </p>

<pre><code> class A {

     public static A getInstance() {
        return new A();
     }
 }
</code></pre>

<p>Does it make sense to provide this method for class A , rather than call new A() in the code.</p>
