While Alternative 4 will only load the instance when it is called, it could have some concurrency issues as two threads could call it instantiating two separate instances. Alternative 3 would not have concurrency issues, but would instantiate the instance the first time the class type is referenced in code.
Last Visit: 31-Dec-99 18:00 Last Update: 18-Jun-24 21:36