Re: Calling a constructor from another
- From: "Shane Mingins" <shanemingins@xxxxxxxxxxxxxxxxx>
- Date: Mon, 23 May 2005 14:48:07 +1200
"Sathyaish" <Sathyaish@xxxxxxxxx> wrote in message
news:1116814169.107288.101710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> How does a constructor of one class call another of the same class?
> When would this mechanism make sense or be required?
>
>
> PS: Two instances I saw are:
>
> (a) While using the Singleton pattern
> (b) While using the Factory pattern
>
Sounding like homework ;-) What language are you using?
.
- References:
- Calling a constructor from another
- From: Sathyaish
- Calling a constructor from another
- Prev by Date: Re: Using Analytical vs. Enumerative methods
- Next by Date: Re: Using Analytical vs. Enumerative methods
- Previous by thread: Calling a constructor from another
- Next by thread: Re: Calling a constructor from another
- Index(es):
Relevant Pages
|