Murex interview question

OOP design problem, some basic theory