In the above code i made a singleton class SingletonObject01.java, which gives single instance of it in multithreading environment also
now if i use Lazyload singleton as below,
This also gives the only one instance of class SingletonObject02.java that too in multithreading enviroment
Now,
My question is in my both of above approach i am not using synchronized key work ,
So which approach is better for Singleton
Pattern from above two