everyone knows the implementation of singleton pattern, nothing new under the sun: private instance private constructor public method that controls if the instance is null (in this case initialize it),and returns the instance the code will be similar...