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

What is singleton class? Where is it used?

  • Aarti
  • 05 Nov
  • 3762 Views
  • 6 Answers
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.

0
capgemini
Practice Mock Test
capgemini