Java – Singleton Desing Pattern
public class UserKatalog { private static UserKatalog instance; private static Object lock=new Object(); private UserKatalog() { System.out.println("UserKatalog singleton nesnesi olusturuldu");…
public class UserKatalog { private static UserKatalog instance; private static Object lock=new Object(); private UserKatalog() { System.out.println("UserKatalog singleton nesnesi olusturuldu");…