Kinetic Vision interview question

what are your thoughts on inheritance vs composition