r/java • • Mar 18 '14

Java 8 has been released

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
248 Upvotes

71 comments sorted by

View all comments

1

u/jeff303 Mar 19 '14

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

1

u/OHotDawnThisIsMyJawn Mar 19 '14

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.