1 package test2; 2 3 interface IStaticMember { bar()4 int bar(); 5 } 6 7 public class StaticMember implements IStaticMember { 8 public static int k = 3; foo()9 public static int foo() { return 7; } bar()10 public int bar() { return 3; } 11 } 12