Hello,

You cannot force a class to implement a private method. And that would be
totally useless... The target of an interface is to define a set of methods
that are accessible by any classes => private, internal and protected
methods are too restricted. What do you want to do ?

Regards,
Cedric

On Mon, Aug 4, 2008 at 10:13 AM, S0 F1 <[EMAIL PROTECTED]> wrote:

> How can you force a set of classes to define a private method if Interface
> members cannot be declared public, private, protected, or internal?
>
> Create an abstract class with private method(s) that throw an error, unless
> overwritten by subclasses? Is this the only way?
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to