Why initialize some variables in a class declaration with one constructor?
<p>I'm new to Java but experienced in C++.  I came across some code that I didn't understand:</p>

<pre><code>public class SomeClass {
    private SomeOtherClass someOther = new SomeOtherClass();
    private AThirdClass thirdClass;

    SomeClass() {
        this.thirdClass = new AThirdClass();
    }
}
</code></pre>

<p>Why when there is only a single constructor would you have someOther initialized in the initialization and thirdClass initialized in the constructor?</p>
