Bay Alarm Interview Question

Write a singleton method and explain why you would use one.

Interview Answer

Anonymous

Jul 6, 2012

I would never use one, but it is sometimes used to prevent duplicate database objects from being instanciated.