Software AG Interview Question

Oops concept, DS