Amdocs interview question

Q:oops concepts