1 package test5; 2 3 public class BoolTest { 4 static boolean i = false; test()5 public boolean test() { 6 return i; 7 } foo(boolean b)8 public boolean foo(boolean b) { return b; } run()9 public int run() { 10 if (test()) 11 return 1; 12 else 13 return 0; 14 } 15 } 16