Threading : Lazy Initialization vs Static Lazy Initialization
-
30-10-2019 - |
Question
I am going through Java Memory Model video presentation and author is saying it is better to use Static Lazy Initialization
compared to Lazy Initialization
and I do not clear understand what he wants to say.
I wanted to reach to community and would appreciate if someone can explain difference between Static Lazy Initialization
and Lazy Initialization
with simple java code example.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow