{{theTime}}

Search This Blog

Total Pageviews

Singleton Design Pattern Java Implementation

public class SingletonClass {

private SingletonClass singletonClass ;

private SingletonClass(){
}

public static SingletonClass getInstance(){
if (null != singletonClass) {
singletonClass = new SingletonClass() ;
}
return singletonClass ;
}
}

No comments:

Cucumber Eclipse sample program

Cucumber Eclipse SetupCreate Eclipse Maven Project Open pom.xml Goto Dependencies Add GroupId: info.cukes, Artifact Id: cucumber-java, Versi...