예제 #1
0
 public void caller()
 {
     singletonclass  oneObject  = singletonclass.getObject();
     singletonclass2 oneObject2 = new singletonclass2();
 }
예제 #2
0
 static singletonclass2()
 {
     objsingleton = new singletonclass2();
 }