difference between singleton and static class
Static Class: A class that only contains static components and no instance components is referred to as a static class. Singleton Class: It is a class which does not allow you to create multiple instances.