Link Details

Link 1189165 thumbnail
User 1131839 avatar

By Javin_Paul
via javarevisited.blogspot.sg
Published: Aug 04 2014 / 11:33

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.
  • 7
  • 0
  • 587
  • 1890

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.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java