1 package test1; 2 3 class SuperDelegator { f(int p)4 public int f(int p) { return p + 1; } g(int p)5 public static int g(int p) { return p + 1; } 6 } 7 8 public class Delegator extends SuperDelegator { run()9 public int run() { 10 return f(3) + g(10); 11 } 12 } 13