M
Mojtaba Faridzad
Hi,
my question is about OO design. imagine we have 2 classes with some common
members and some different members. which one is better and why:
1) design class A completely and B as a drived from A with the different
members.
2) design a super class with common members then design class A and B drived
from this super class with their different members.
my question is about OO design. imagine we have 2 classes with some common
members and some different members. which one is better and why:
1) design class A completely and B as a drived from A with the different
members.
2) design a super class with common members then design class A and B drived
from this super class with their different members.