3 ms·
I am so, so excited for Default Interface Implementations. Abstract classes are great but when you want (have) to go down a different inheritance tree this will
by nickspag 9y ago
I am so, so excited for Default Interface Implementations. Abstract classes are great but when you want (have) to go down a different inheritance tree this will be so nice.
- c0wb0yc0d3r 9y agoWith the introduction of this feature, is that the only difference between the two?
- int_19h 9y agoAbstract classes can have state, default interfaces can only have behavior. So state is still single-inheritance, while behavior is effectively multiple-inheritance now.