Amdocs interview question

OOPs coccept