public void caller() { singletonclass oneObject = singletonclass.getObject(); singletonclass2 oneObject2 = new singletonclass2(); }
static singletonclass2() { objsingleton = new singletonclass2(); }