AS3 doesn't support private constructor. Earlier, AS2 was supporting it. In
AS2 it was used to create Singleton class so that the class cannot be
instantiated from outside.

Regards,
Faiz

On Tue, Aug 9, 2011 at 8:32 PM, kamal <[email protected]> wrote:

> Hi All,
> question i faced in interview that "is as3 supports private
> constructor ?"
> through the google search i came to know that As3 not support private
> consturctor.
> Here i just wanted to know is there any draback if as3 not support
> private constructor. Where this really make much diffrence?
>
> Thank you,
> Kamal
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to