public class Test { public static void main(String[] args) { Boolean boolean1= true; test(boolean1); System.out.println(boolean1); } public static void test(Boolean b){ b=false; } }
public static void main(String[] args) { Boolean boolean1= true; test(boolean1); System.out.println(boolean1); } public static void test(Boolean b){ b=false; }
}