aboutsummaryrefslogtreecommitdiff
path: root/src/test/test1/Delegator.java
blob: 9ca93b8e54a8a35ecf7294c0b8d6c6bb67dfa8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package test1;

class SuperDelegator {
	public int f(int p) { return p + 1; }
    public static int g(int p) { return p + 1; }
}

public class Delegator extends SuperDelegator {
    public int run() {
        return f(3) + g(10);
    }
}