|
|
|
|
|
by BorisTheBrave
1644 days ago
|
|
In most languages Subset would be called a trait or interface, rather than general inheritance. You've picked an example with no fields or overriden methods, so it's impossible for it to demonstrate the shortcomings of inheritance. |
|