Tags

,

summary:
– several things to consider,
– thread-safety
– static variable
– volatile variable
– use enum for singleton

Advertisements