EV (EValue) interview question

Basic OOP and problem solving exercises.