1 package test4; 2 3 public class CodeConv { 4 int k = 1; m1()5 public int m1() { 6 return k + 10; 7 } m2()8 public int m2() { 9 return k + 100; 10 } m3(CodeConv cc)11 public static void m3(CodeConv cc) { 12 cc.k++; 13 } 14 run()15 public int run() { 16 int i = m1() * 1000 + m2(); 17 return k + i * 10; 18 } 19 } 20