1 package test5; 2 3 interface JIRA248Intf { foo()4 default int foo() { return 1; } 5 } 6 7 interface JIRA248Intf2 { baz()8 default int baz() { return 40000; } 9 } 10 11 class JIRA248Sup2 { bar()12 public int bar() { return 200; } 13 } 14 15 class JIRA248Sup extends JIRA248Sup2 implements JIRA248Intf { 16 } 17 18 public class JIRA248 extends JIRA248Sup implements JIRA248Intf2 { foo()19 public int foo() { return 70; } bar()20 public int bar() { return 3000; } baz()21 public int baz() { return 500000; } 22 } 23