Where it is better to initialize field?
<p>Where it is better to initialize fields? In <strong>constructor (var.1)</strong> or on <strong>declaration (var.2)</strong>?</p>

<p><strong>var. 1</strong></p>

<pre><code>public class UtilWebLoading {
private int data;
private Context context;

public UtilWebLoading(Context context) {
    this.context = context;
    data = 100;
}
...
}
</code></pre>

<p><strong>var. 2</strong></p>

<pre><code>public class UtilWebLoading {
private int data = 100;
private Context context;

public UtilWebLoading(Context context) {
    this.context = context;
}
...
}
</code></pre>
