Invoking parameterized/default constructor of a class?
<p>I have a class with two constructors.</p>

<pre><code>Class Sample{

  private ClassOne classOne;
  private ClassTwo classTwo;
  private ClassThree classThree;


  public Sample(){
    classOne = new ClassOne();
    classTwo = new ClassTwo();
    classThree = new ClassThree();
  }

  public Sample(int id){

    classOne = new ClassOne(id);
    classTwo = new ClassTwo(id);
    classThree = new ClassThree(id);

  }

  //some code here
}
</code></pre>

<p>have a class Sample with two constructors. Need to instantiate three more classes in Sample class as mentioned(ClassOne, ClassTwo and ClassThree). All three classes contains default and parameterized constructors. If Sample class's default constructor is invoked then ClassOne, ClassTwo and ClassThree 's default cosntructor should get invoked. 
If Samples parameterized constructor is invoked then ClassOne,ClassTwo and ClassThree 's parameterized constructor is invoked.</p>

<p>I wrote above the code. is there any elegant way to do that?</p>
