Amdocs interview question

Basics of singleton