Talk:Interface (Java): Difference between revisions

Content deleted Content added
Line 66:
 
Am I right that a concrete class cannot add any new public methods if it is only implementing interfaces and does not have an "extends" relationship with a superclass? It seems to compile but will not expose the method to calling classes. -- [[User:Beland|Beland]] ([[User talk:Beland|talk]]) 19:01, 24 July 2013 (UTC)
 
== Concrete Methods for Interfaces(Defender methods) ==
 
Java 8 is redefining interfaces by allowing them to implement concrete methods: http://www.javabeat.net/virtual-extension-methods-in-java-8/
 
I think it should be added to this page in a special java 8 section, here's the official oracle link: http://www.oracle.com/technetwork/articles/java/lambda-1984522.html