Question d’entretien chez Software AG

Binary search question , OOPS principles.