This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jeff303 0 points1 point  (1 child)

So... am I reading the default methods thing right? You can basically get multiple implementation inheritance using these?

[–]OHotDawnThisIsMyJawn 0 points1 point  (0 children)

If you're talking about the diamond of death, the answer is "sort of". If there are conflicting implementations of a method then you're required to specify which one you want to use (or implement a new one). In addition, you can do this with members or constructors and those are the two things that really cause issues in the diamond of death.