LTIMindtree Interview Question

What is a singleton pattern in Java?