aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test4/CodeConv.java
blob: 548c1d2ca0b64928841c671ef1718e326ade9bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package test4;

public class CodeConv {
    int k = 1;
    public int m1() {
        return k + 10;
    }
    public int m2() {
        return k + 100;
    }
    public static void m3(CodeConv cc) {
        cc.k++;
    }

    public int run() {
        int i = m1() * 1000 + m2();
        return k + i * 10;
    }
}