| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,7 +45,9 @@ This article was originally posted on [my blog](http://winterbe.com/posts/2014/0 | |||
| 45 | 45 | ||
| 46 | 46 | ## Default Methods for Interfaces | |
| 47 | 47 | ||
| 48 | - Java 8 enables us to add non-abstract method implementations to interfaces by utilizing the `default` keyword. This feature is also known as **Extension Methods**. Here is our first example: | ||
| 48 | + Java 8 enables us to add non-abstract method implementations to interfaces by utilizing the `default` keyword. This feature is also known as [virtual extension methods](http://stackoverflow.com/a/24102730). | ||
| 49 | + | ||
| 50 | + Here is our first example: | ||
| 49 | 51 | ||
| 50 | 52 | ```java | |
| 51 | 53 | interface Formula { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments