空山新雨 ·
·
阅读: 782
Well this is the classic "is a" and "include". But I really don't think this matters with ……
Define all data in basic class as implementation.
Defien all methods in interface.
Use class to aggregrate the classes and implements the interface.
And the world is clean...