Calling a constructor from another
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
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
.
Relevant Pages
- Re: Calling a constructor from another
... > How does a constructor of one class call another of the same class? ... > While using the Singleton pattern ... Cor ... Prev by Date: ... (microsoft.public.dotnet.general) - Calling a constructor from another
... How does a constructor of one class call another of the same class? ... While using the Singleton pattern ... While using the Factory pattern ... Prev by Date: ... (microsoft.public.dotnet.faqs) - Calling a constructor from another
... How does a constructor of one class call another of the same class? ... While using the Singleton pattern ... While using the Factory pattern ... Prev by Date: ... (microsoft.public.dotnet.languages.csharp) - Calling a constructor from another
... How does a constructor of one class call another of the same class? ... While using the Singleton pattern ... While using the Factory pattern ... Prev by Date: ... (comp.object) - Re: Calling a constructor from another
... > How does a constructor of one class call another of the same class? ... > While using the Singleton pattern ... Sounding like homework;-) What language are you using? ... Prev by Date: ... (comp.object) |
|