Function Car.this

Constructor of car.

this (
  Size size
);

Constructs a car with a set of sizes. A car cannot of course have undefined sizes, so we should provide it during construction.

Parameters

NameDescription
size size of a car.