P
perspolis
Hi all
I have a base class that another classes inherit from it.
I want to know when it's good to have interface as parent and when use class
as parent??
and another question ,if all of children classes have a method with same
implementation ,it's better to declare that method with it's implementation
in base class??
thanks in advance
I have a base class that another classes inherit from it.
I want to know when it's good to have interface as parent and when use class
as parent??
and another question ,if all of children classes have a method with same
implementation ,it's better to declare that method with it's implementation
in base class??
thanks in advance