Using setter methods in constructor: bad practice?
<p>I often see constructors like this</p>

<pre><code>public class A {

   private int b;

   public A(int b) {
      setB(b);
   }

   public void setB(int b) {
      this.b = b;
   }
}
</code></pre>

<p>Is this a good idea? Should I use setter methods in the constructor? Isn't it a problem if I would override either the constructor or the setter methods in a sub class?</p>
