Close sidebar

Capgemini placement question from previous years, Can any one answer?

What is singleton class? Where is it used?

Your Answer

A singleton class is a design pattern that ensures only one instance of the class is created and provides a global point of access to Flappy Bird that instance, commonly used for managing shared resources like configurations or connections.

Comment
Practice Mock Test
capgemini