FirstRand interview question

dependency injection and java basics