ITP Aero interview question

Related to oops concepts