Link Details

Java 8 is path breaking in many ways, one is allowing interfaces to have concrete method. This is known as defender or extension method, because it allows Java designers to add method on existing interfaces without breaking backward comparability. You can define a concrete method inside any interface using default keyword, and that's why it is also known as Default method of JDK 8.

Posted by Javin_Paul  |   Aug 04 2014 / 11:33

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Recommended Links

Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone