What is the best way to initialize instance variable : <p>Which is the best way to initialize instance variable?</p>

<p>1 - instance initializer block inside default constructor</p>

<pre><code>myClass(){ { instanceVariable = 1; } }
</code></pre>

<p>2 - assign value inside default constructor block</p>

<pre><code>myClass(){  instanceVariable = 1;  }
</code></pre>

<p>3 - make my own instance (with parameter) </p>

<pre><code>myClass(int instanceVariable){  this.instanceVariable = 1; } 
</code></pre>

<p>Many thanks,
John</p>
