public class g_george_hw1 { public static void main(String[] args) { Integer[] input = { 100, 37, 49 }; boolean result1 = contains (input, new Prime() ); boolean result2 = contains (input, new PerfectSquare() ); boolean result3 = contains (input, new Negative() ); System.out.println("Result 1: " + result1); System.out.println("Result 2: " + result2); System.out.println("Result 3: " + result3); } public static boolean contains ( AnyType [] Arr, FinderInterface Obj) { return Obj.finder((Number[]) Arr); } }