title: How do you create a child object with the constructor of parent object? (Java)
body: <p>As an example, I have a <code>Car</code> class. When I create a car object I would like to pass the number of wheels I would like that car to have and the constructor would create <code>Wheel</code> objects from <code>1-x</code> number of wheel objects I passed to the <code>Car</code>'s constructor.</p>
  <p>Any help you can provide would be greatly appreciated!</p>
  <p>Parent is <code>Car</code>
  Child is <code>Wheel</code></p>