package com.javavogue; public class SingletonDemo { static SingletonDemo obj; private SingletonDemo(){ } public static SingletonDemo getInstance(){ if(obj!=null){ return obj; }
Continue readingJava Tutorials
package com.javavogue; public class SingletonDemo { static SingletonDemo obj; private SingletonDemo(){ } public static SingletonDemo getInstance(){ if(obj!=null){ return obj; }
Continue reading