bsndb258 bsndb258 05-12-2022 Mathematics contestada consider the following method. public int pick(boolean test, int x, int y) { if (test) return x; else return y; }