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

What is singleton class? Where is it used?

  • Aarti
  • 05 नवम्बर
  • 3762 दृश्य
  • 6 उत्तर
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
मॉक परीक्षण अभ्यास के लिए
capgemini