Guidewire Interview Question

Explain and implement the singleton design pattern