Focused interview question

Simple OOP problems in succession.