Hi all,
I have something like this:
classes A to D all have variables var1, var2, var3, var4, var5
class A has an extra variable var6
class B doesn't have var6, but do have the variables var7, var8
class C is the same as B, but has an extra variable var9
class D only has an extra variable, var10
How should i implement this?
The behavior of all the classes is the same: show data. (In a later stage all the classes need save, update and delete functionality. The name of the methods are the same, but the implementation is different.)