title: Variable arguments in java constructor
body: <p>Ho can I implement a Car class in the sample below. I can pass a collection with wheel to brand mapping but is there a better way of doing it?</p>
  
  <p>A Car has an engine and some number of wheels. Not all cars are built to hold four wheels, some have only three while others have more. But whatever they are built for, that is the max number they can hold.When a car is built (i.e. constructed), an engine is created for it and so are the wheels that it will use.</p>