Statistics Canada interview question

How would you write a car class?