Starbucks interview question

They asked about the singleton principle