Bsndb258go Bsndb258go Mathematics Answered consider the following method. public int pick(boolean test, int x, int y) { if (test) return x; else return y; }