test/compiler/8015436/Test8015436.java

changeset 5215
2f004f9dc9e1
parent 5209
fe00365c8f31
child 6876
710a3c8b516e
equal deleted inserted replaced
5214:e7d29a019a3c 5215:2f004f9dc9e1
46 default public void defaultMethod(String str){ 46 default public void defaultMethod(String str){
47 System.out.println("defaultMethod() " + str); 47 System.out.println("defaultMethod() " + str);
48 } 48 }
49 } 49 }
50 50
51 class Test8015436 implements InterfaceWithDefaultMethod { 51 public class Test8015436 implements InterfaceWithDefaultMethod {
52 @Override 52 @Override
53 public void someMethod() { 53 public void someMethod() {
54 System.out.println("someMethod() invoked"); 54 System.out.println("someMethod() invoked");
55 } 55 }
56 56

mercurial