Software AG interview question

Oops concept, DS