IAC interview question

how can you enforce singleton pattern