I created a singleton design pattern in class Application, i did this to ensure that the application class has at most only one instance and provides a global access point to that instance and thereby, making it illegal to construct more instances by an raising exception when there is more than one instance.
I created a singleton design pattern in class Application, i did this to ensure that the application class has at most only one instance and provides a global access point to that instance and thereby, making it illegal to construct more instances by an raising exception when there is more than one instance.