LTIMindtree interview question

What is a singleton pattern in Java?