Java links for 2009-03-11; singleton, lazy versus eager instantiation

Object Oriented analysis and design class will be discussing the singleton pattern today Objects First with java – Chapter 12, Singleton Singleton – eager instantiation. Eager instantiation performed at time class is loaded. public class Singleton. {. private static Singleton instance … (tags: java pattern singleton) Lazy Versus Eager Instantiation Lazy instantiation is a memory […]

Also tagged ,