Question: what is difference between static and singleton class?
Answer: A singleton allows a class for which there is just one, persistent instance across the lifetime of an application. ... While a static class allows only static methods and and you cannot pass static class as parameter. A Singleton can implement interfaces, inherit from other classes and allow inheritance.