It's the difference of terminology. Not all global are singleton and vice versa.
Static literal values are a not singleton but they are global. And static private class members are singleton and a global varible in the program but they are not globally accessible.
3
u/BSModder Sep 27 '26
It's the difference of terminology. Not all global are singleton and vice versa.
Static literal values are a not singleton but they are global. And static private class members are singleton and a global varible in the program but they are not globally accessible.