G
Guest
Dear all,
I have one question base on a choice of having a public interfcace access
compare to public class member.
IN other word let say that I have a public interface named ImyInterface with
public function and property.
Then I define a class which implements that interface.My class contains
public fcunction which provide services.
What would be advaantage and drawback of accessing my class service directly
throught public function or by public Interface member ( in that case I
declare all member of my class as private and the only access will be through
that interface)
thnaks for comments
regards
serge
I have one question base on a choice of having a public interfcace access
compare to public class member.
IN other word let say that I have a public interface named ImyInterface with
public function and property.
Then I define a class which implements that interface.My class contains
public fcunction which provide services.
What would be advaantage and drawback of accessing my class service directly
throught public function or by public Interface member ( in that case I
declare all member of my class as private and the only access will be through
that interface)
thnaks for comments
regards
serge