diff options
Diffstat (limited to 'java.html.markdown')
| -rw-r--r-- | java.html.markdown | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/java.html.markdown b/java.html.markdown index fa1ff3d1..a8c2523c 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -660,7 +660,7 @@ public interface Edible {  public interface Digestible {      public void digest();      // Since Java 8, interfaces can have default method. -    public void defaultMethod() { +    public default void defaultMethod() {          System.out.println("Hi from default method ...");      }  } | 
