Apolis interview question

basic OOP questions, with one hand on coding problem.