What is singleton class? Where is it used?
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.