Here is an example in Smalltalk , of a typical accessor method to return the value of a variable using lazy initialization .
Here is an example in Smalltalk for a typical accessor method to return the value of a variable using delayed initialization .